4.1 System Resources
Syntax
du [options] [directory or file]
Common Options
-a display disk usage for each file, not just subdirectories
-s display a summary total only
-k report in kilobytes (SVR4)
Examples
{unix prompt 3} du
1 ./.elm
1 ./Mail
1 ./News
20 ./uc
86 .
{unix prompt 4} du -a uc
7 uc/unixgrep.txt
5 uc/editors.txt
1 uc/.emacs
1 uc/.exrc
4 uc/telnet.ftp
1 uc/uniq.tee.txt
20 uc