DU(1) BSD DU(1)
NAME
du - summarize disk usage
SYNOPSIS
du [ -a ] [ -s ] [ names ]
DESCRIPTION
du gives the number of kilobytes contained in all files and, recursively,
directories within each directory specified by names. If you don't
specify a names argument, du prints information about the current
directory, " ." by default. A file that has two links to it is only
counted once.
OPTIONS
-a Generate an entry for each file.
-s Print only the grand total of kilobytes for each of the
specified names.
Absence of either the -a option or the -s option causes an entry to be
generated for each directory only.
BUGS
If you don't use the -a option, du does not list nondirectories given as
arguments.
If too many distinct linked files exist, du counts the excess files more
than once.
SEE ALSO
df(1)