A chronological documentation test project, nothing serious, really!

09 Feb 2007 someprog > /dev/null 2>&1

Posted by

The first part, “> /dev/null” means send standard output to the ‘bit bucket” or in other words, throw it away.

The second part, “2>&1” means “redirect standard error (2) to the same place as standard outout (1.)

Tags: , ,

Comments are closed.