Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

null(7)  —  Special Files

OSF

NAME

null − Data sink

DESCRIPTION

Data written on a null special file are discarded. 

Reads from a null special file always return 0 (zero) bytes. 

EXAMPLES

To read a device and discard all the data using the dd command:

dd if=/dev/rz1c of=/dev/null

To create a zero length file using the cat command:

cat > foo < /dev/null

FILES

/dev/null

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