.\" Copyright (c) 1990 The Regents of the University of California.
.\" %sccs.include.redist.roff%
.\" @(#)du.1 6.18 (Berkeley) %G%
.Nd display disk usage statistics
utility displays the file system block usage for each file argument
and for each directory in the file hierarchy rooted in each directory
If no file is specified, the block usage of the hierarchy rooted in
the current directory is displayed.
The number of blocks are in the same units as that returned by the
system call, i.e. 512-byte blocks.
Partial numbers of blocks are rounded up.
The options are as follows:
Display an entry for each file in the file hierarchy.
Display only the grand total for the specified files.
When encountering a symbolic link on the command line, follow it. All other
symbolic links encountered in the traversal are not followed.
When encountering a symbolic link anywhere in the traversal, follow it.
Filesystem mount points are not traversed.
references symbolic links as the links themselves unless the
flags are specified, in which case behavior is as detailed above.
Files having multiple hard links are counted (and displayed) a single
.Sh ENVIRONMENTAL VARIABLES
.Bl -tag -width BLOCKSIZE
If the environmental variable
is set, the block counts will be displayed in units of that size block.