/dev/null
is a character device that discards any data written to it.
Description
The /dev/null
character device discards any data written to it. If a program
attempts to read from it, read
will return zero (end of file).
/dev/null
is generally used to discard unwanted output from programs by
redirecting the standard output to it.