Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ du(1-ucb) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

df(1)

pwd(1)

quota(1M)

du(1-ucb)               (BSD Compatibility Package)               du(1-ucb)

NAME
     du - display the number of disk blocks used per directory or file

SYNOPSIS
     /usr/ucb/du [-F ufs]

     /usr/ucb/du [-F ufs] [-a] [-s] [filename ...]

DESCRIPTION
     du gives the number of kilobytes contained in all files and, recur-
     sively, directories within each specified directory or file filename.
     If filename is missing, "." (the current directory) is used.

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

OPTIONS
     -a   Generate an entry for each file.

     -s   Only display the grand total for each of the specified filenames.

     Entries are generated only for each directory in the absence of
     options.

EXAMPLE
     Here is an example of using du in a directory. We used the pwd(1) com-
     mand to identify the directory, then used du to show the usage of all
     the subdirectories in that directory. The grand total for the direc-
     tory is the last entry in the display:

          % pwd
          /usr/ralph/misc
          % du
          5       ./jokes
          33      ./squash
          44      ./tech.papers/lpr.document
          217     ./tech.papers/new.manager
          401     ./tech.papers
          144     ./memos
          80      ./letters
          388     ./window
          93      ./messages
          15      ./useful.news
          1211 .
          %

NOTES
     Filename arguments that are not directory names are ignored, unless
     you use -a.

     If there are too many distinct linked files, du will count the excess
     files more than once.




Page 1                       Reliant UNIX 5.44                Printed 11/98

du(1-ucb)               (BSD Compatibility Package)               du(1-ucb)

SEE ALSO
     df(1), pwd(1), quota(1M).




















































Page 2                       Reliant UNIX 5.44                Printed 11/98

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