DU(1-BSD) RISC/os Reference Manual DU(1-BSD)
NAME
du - summarize disk usage
SYNOPSIS
du [ -a ] [ -f ] [ -s ] [ name ... ]
DESCRIPTION
du gives the number of kilobytes contained in all files and,
recursively, directories within each specified directory or
file name. If name is missing, `.' is used.
The option -s causes only the grand total to be given.
The option -a causes an entry to be generated for each file.
Absence of either causes an entry to be generated for each
directory only.
The option -f causes the size calculation of directories to
ignore sizes of subdirectories. This is useful for finding
``fat'' directories (those that have lots of files at the
top level, as opposed to trees that have lots of files).
A file which has two links to it is only counted once.
SEE ALSO
df(1)
BUGS
Non-directories given as arguments (not under -a option) are
not listed.
In previous versions of du, if there are too many distinct
linked files, du counts the excess files multiply.
Previous versions of du required options to be in the order
-s followed by -a if both are given. This version uses
getopt(3), and thus any order is allowed.
Printed 1/15/91 Page 1