Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ du(1) — UNIX System III

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DU(1)  —  UNIX 3.0

NAME

du − summarize disk usage

SYNOPSIS

du [ −ars ] [ names ]

DESCRIPTION

Du gives the number of blocks contained in all files and (recursively) directories within each directory and file specified by the names argument.  The block count includes the indirect blocks of the file.  If names is missing, .  is used. 

The optional argument −s causes only the grand total (for each of the specified names) 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. 

Du is normally silent about directories that cannot be read, files that cannot be opened, etc.  The −r option will cause du to generate messages in such instances. 

A file with two or more links is only counted once. 

BUGS

If the −a option is not used, non-directories given as arguments are not listed. 
If there are too many distinct linked files, du will count the excess files more than once. 
Files with holes in them will get an incorrect block count.

May 16, 1980

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