Linux Commands - du (Disk Usage)
03 Mar 2015Disk Usage (du) is used to check information on disk usage of files and directories on a box.
Syntax - du <file_system>
Common du syntax
du -ah
du -ahc
du -hs * | sort -h
du -h --max-depth=1 | sort -n -r
-h = Human Readable Format
-s = Summary of Grand Total Disk Usage
-a = All Files and Directories
-c = Calculate Grand Total