DU(1) — Unix Programmer’s Manual
NAME
du − summarize disk usage
SYNOPSIS
du [ options ] [ name ... ]
DESCRIPTION
Du gives the number of kilobytes contained in all files and, recursively, directories within each specified directory or file name. If you do not specify a name, du begins counting from ‘.’.
Used without options, du generates counts for each directory only.
Du counts a file that has two links to it only once.
OPTIONS
−s Gives only the grand total of kilobytes.
−a Generates an entry for each file. Absence of either causes an entry to be generated for each directory only.
SEE ALSO
BUGS
Non-directories given as arguments (not under −a option) are not listed.
If there are too many distinct linked files, du counts the excess files multiply.
INTEGRATED SOLUTIONS 4.3 BSD — April 29, 1985