du(1) General Commands Manual du(1)
Name
du - print amount of disk usage
Syntax
du [-as] [name...]
Description
The command gives the number of kilobytes contained in all files and, recursively, directories within each specified directory or file
name. If name is missing, `.' is used.
Absence of either -a or -s causes an entry to be generated for each directory only.
A file that has two links to it is only counted once.
Options
-a Displays the disk usage for each file.
-s Displays a summary total only.
Restrictions
Non-directories given as arguments (not under -a option) are not listed.
If there are too many distinct linked files, counts the excess files multiply.
See Also
df(1), quot(8)
du(1)