DU(1) SysV DU(1)
NAME
du - summarize disk usage
SYNOPSIS
du [ -sar ] [ names ]
DESCRIPTION
du reports the number of 1024-byte blocks contained in all files, and
recursively, directories within each file and directory specified by the
names argument. The block count includes the indirect blocks of the
file. If names is missing, du counts the blocks in files in the current
directory.
OPTIONS
-s Causes only the grand total (for each of the specified names) to be
given.
-a Causes an output line to be generated for each file.
-r Causes messages to be generated about directories that cannot be be
read, files that cannot be opened, etc., rather than being silent
(the default).
NOTES
If neither -s nor -a is specified, an output line is generated for each
directory only.
A file with two or more links is counted only once.
BUGS
If the -a option is not used, non-directories given as arguments are not
listed.
If there are links between files in different directories where the
directories are on separate branches of the file system hierarchy, du
counts the excess files more than once.
Files with holes get an incorrect block count.