du
[
options
] [
directories
]
Print disk usage, i.e., the number of 512-byte blocks used by each named directory and its subdirectories (default is current directory).
-a
Print usage for all files, not just subdirectories.
-d
Do not cross filesystem boundaries. Solaris only.
-k
Print information in units of kilobytes.
-L
For symbolic links, process the file or directory to which the link refers, not the link itself. Solaris only.
-o
Do not add child-directory statistics to the parent directory's total. No effect if -s
is also used. Solaris only.
-r
Print a "cannot open" message if a file or directory is inaccessible.
-s
Print only the grand total for each named directory.