Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '2 /dev/null' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
2 /dev/null
Authored by: reverie on Nov 04, '01 02:07:01AM

2> /dev/null
will consolidate the standard output (stdout) and diagnostic output (stderr) of the preceding command and then send it to /dev/null (i.e., a black hole). Basically, it's making sure the script stays quiet. It's a feature of sh, the Bourne shell, and you can read more about it if you 'man sh'.

[ Reply to This | # ]