Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

df(1)

quot(8)

du(1)

Name

du − print amount of disk usage

Syntax

du [−as] [name...]

Description

The du command 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. 

Absence of either −a or −s causes an entry to be generated for each directory only. 

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

Options

−aDisplays the disk usage for each file. 

−sDisplays a summary total only. 

Restrictions

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.

See Also

df(1), quot(8)

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