COHERENT manpages

This page displays the COHERENT manpage for du [Summarize disk usage].

List of available manpages
Index


du -- Command

Summarize disk usage
du [-a] [-s] [directory ...]

du prints the total number of  disk blocks used by each named directory. If
no  directory  is  specified, du  prints  the  disk  usage  of the  current
directory.

The -a (all) option causes du  to print a line for every file and directory
in the substructure.  Normally it prints a line only for each directory.

The -s (summary) option prints only the line for the top level directory.

du understands links; it adds a file with more than one link to it into the
total only once.

See Also

commands,
df,
find

Notes

du  does  not  count  file-system  overhead  such as  indirect  blocks,  so
occasionally a  directory does not  fit on a  file system which  appears to
contain enough room for it.