Manual Page Result
0
Command: du | Section: 1 | Source: UNIX v10 | File: du.1
DU(1) General Commands Manual DU(1)
NAME
du, df - disk usage
SYNOPSIS
du [ -s ] [ -a ] [ file ... ]
df [ -i ] [ special ... ] [ file ... ]
DESCRIPTION
Du gives the number of Kbytes allocated to data blocks of named files
and, recursively, of files in named directories. If name is missing,
is used. The count for a directory includes the counts of the con-
tained files and directories. The options are
-s Print only the grand total.
-a Print a count for every file in a directory. Normally counts
are printed only for contained directories.
A file which has two (hard) links to it is counted only once. Symbolic
links are neither counted nor followed.
Df printsthe amount of free space on the file system contained in spe-
cial, or on the file system in which the specified file is contained.
If no file system is specified, the free space on all of the currently
mounted file systems is printed.
The reported numbers are in Kbytes, independently of the blocksize ac-
tually used on the file system. The option is
-i Report also on free and used inodes.
EXAMPLES
df .
How much space is there where I'm working?
FILES
only for the root device
list of currently mounted file systems
SEE ALSO
quot(8), fstab(5), icheck(8)
BUGS
In the absence of option -a non-directories given as arguments to du
are not listed.
If there are too many distinct linked files, du counts the excess files
multiply.
Unwritten holes in files count as if real data were present, and indi-
rect blocks are not counted.
DU(1)