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