home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


du

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).

Options

-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.


Previous: Reference: dpost UNIX in a Nutshell: System V Edition Next: Reference: echo
Reference: dpost Book Index Reference: 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