Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ null(7) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

null(7)  —  Special Files

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 floppy disk and display the total number of records read in and output to /dev/null using the dd command:

dd if=/dev/disk/floppy0 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