UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: dpostChapter 2
UNIX Commands
Next: Reference: echo
 

du

du [options] [directories]

Print disk usage; i.e., the number of 512-byte blocks used Print disk usage; i.e., the number of kilobytes used by each named directory and its subdirectories (default is current directory).

Options

-a

Print usage for all files, not just subdirectories.

-r

Print "cannot open" message if a file or directory is inaccessible.

-s

Print only the grand total for each named directory.


Previous: Reference: dpostUNIX in a Nutshell: System V EditionNext: Reference: echo
Reference: dpostBook IndexReference: echo

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System