Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (1) — Inferno 3rd Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh(1)

sys-stat(2)

DU(1)

NAME

du − disk usage

SYNOPSIS

du[−santxy] [file ...]

DESCRIPTION

The du command outputs to standard output the total size of files specified as arguments.  Output sums are rounded up to the nearest 1k unit (1024 bytes). 

Directories are recursively tallied.  If no filenames are provided, the command operates on the current directory. 

Du accepts the following options:

−s (default)
Output the usage information tallied for each directory.

−a Output usage information for each file, not just the directories. 

−n Output just the filenames, no other information.  Warning messages are generated for “unsafe” filenames (i.e., names containing shell special characters). 

−t When used with the −n option, outputs the filename, modification time, (seconds since the epoch), size (in bytes), and checksum.  This option has no effect in the absence of the −n option. 

The options −s, −a, and −n are mutually exclusive. 

SOURCE

/appl/cmd/du.b

SEE ALSO

sh(1), sys-stat(2)

BUGS

The checksum field printed with the −t option is always 0; it is intended to be used by some other commands as yet not distributed. 
 

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