32v 1m du: Difference between revisions

From Computer History Wiki
Jump to navigationJump to search
New page: DU(1) UNIX Programmer's Manual DU(1) == NAME == du - summarize disk usage == SYNOPSIS == du [ -s ] [ -a ] [ name ... ] == DESCRIPTION == _...
 
No edit summary
 
Line 4: Line 4:


== NAME ==
== NAME ==
    du -  summarize disk usage
du -  summarize disk usage


== SYNOPSIS ==
== SYNOPSIS ==
    du [ -s ] [ -a ] [ name ... ]
du [ -s ] [ -a ] [ name ... ]


== DESCRIPTION ==
== DESCRIPTION ==
    _D_u gives the number of blocks contained in all files and
'''Du''' gives the number of blocks contained in all files and
    (recursively) directories within each specified directory or
(recursively) directories within each specified directory or
    file _n_a_m_e.  If _n_a_m_e is missing, `.' is used.
file '''name'''.  If '''name''' is missing, `.' is used.


    The optional argument -s causes only the grand total to be
The optional argument -s causes only the grand total to be
    given.  The optional argument -a causes an entry to be gen-
given.  The optional argument -a causes an entry to be generated for each file.  Absence of either causes an entry to
    erated for each file.  Absence of either causes an entry to
be generated for each directory only.
    be generated for each directory only.


    A file which has two links to it is only counted once.
A file which has two links to it is only counted once.


== BUGS ==
== BUGS ==
    Non-directories given as arguments (not under -a option) are
Non-directories given as arguments (not under -a option) are
    not listed.
not listed.
    If there are too many distinct linked files, _d_u counts the
If there are too many distinct linked files, '''du''' counts the
    excess files multiply.
excess files multiply.


[[Category:32v man section 1]]
[[Category:32v man section 1]]

Latest revision as of 16:57, 12 August 2010

DU(1) UNIX Programmer's Manual DU(1)


NAME

du - summarize disk usage

SYNOPSIS

du [ -s ] [ -a ] [ name ... ]

DESCRIPTION

Du gives the number of blocks contained in all files and (recursively) directories within each specified directory or file name. If name is missing, `.' is used.

The optional argument -s causes only the grand total to be given. The optional argument -a causes an entry to be generated for each file. Absence of either causes an entry to be generated for each directory only.

A file which has two links to it is only counted once.

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.