HPlogo HP-UX Reference Volume 5 of 5 > n

null(7)

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

NAME

null — null file

DESCRIPTION

Data written on a null special file is discarded.

Reads from a null special file always return 0 bytes.

EXAMPLES

To create a zero-length file, use either of the following:

cat /dev/null > file cp /dev/null file

FILES

/dev/null

STANDARDS CONFORMANCE

null: AES, SVID2, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1, POSIX.2

© Hewlett-Packard Development Company, L.P.