On Sun, 7 Apr 2002, Chris Hellyar wrote:

> Trivia Q:   Why two pipes to null?

[...]

> > 5 6 * * * /path/to/file/file_to_run 1> /dev/null 2> /dev/null

[...]

'1' is the stdout filedescriptor, '2' is the stderr filedescriptor,
always opened by the system on behalf of the process being run.

In bash the above line could be rewritten as 1>/dev/null 2>&1

Or you could send just the output to the big bit bucket and keep the
error messages.

Cheers,
-- 
Ryurick M. Hristev mailto:[EMAIL PROTECTED]
Computer Systems Manager
University of Canterbury, Physics & Astronomy Dept., New Zealand

Reply via email to