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.)
Standard input, standard output, and standard error all are give special "file handles" by the operating system: 0, 1, 2. If you know a little C (or C++) programming, this will make more sense.
Cheers--
Charles
|