Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ du(1) — bsd — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

df(1)



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 11/19/92                   Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026