null(7) null(7)
NAME [Toc] [Back]
null - null file
DESCRIPTION [Toc] [Back]
Data written on a null special file is discarded.
Reads from a null special file always return 0 bytes.
EXAMPLES [Toc] [Back]
To create a zero-length file, use either of the following:
cat /dev/null > file
cp /dev/null file
FILES [Toc] [Back]
/dev/null
STANDARDS CONFORMANCE [Toc] [Back]
null: AES, SVID2, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1,
POSIX.2
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003 [ Back ] |