What is ‘du’ command? What is its use?The du (disk usage) command is used to report the size of directory trees. These include the contents and the size of all files.
It is useful to use du command for the purpose of tracking down the space hogs. A hog is an excessive or large space occupied by the files and directories on a secondary storage media.
The command du is mostly employed by the system administrators. They use du as a supplement to the automated monitoring system programs which help to prevent the key directories and partitions from being full.
|