Re: Redirect to /dev/null

2004-12-21 Thread Matthias F. Brandstetter
-- quoting Jon Essen-Moller -- > I saw this thread and wish to now what /2>&1 /does and maybe you know a > place where I can find out more about this? > Best regards - Jon "2>&1" means "redirect STDERR (2) to STDOUT (1)" a good starting point for further research would be "man bash

Re: Redirect to /dev/null

2003-10-10 Thread Max Clark
On Fri, Oct 10, 2003 at 04:26:16PM -0500, Charles Howse wrote: > It should be: > ... > /dev/null 2>&1 > The the greater-than symbol preceeds the ampersand . Thank you, that makes much more sense now. -- Max Clark http://www.clarksys.com";>Max Clark ___

RE: Redirect to /dev/null

2003-10-10 Thread Charles Howse
> > What is the proper way to redirect output to /dev/null? I've > > been using the following in my crontab but output is still > > ending up in my mailbox. > > > > ... 2>&1 > /dev/null > > The ampersand preceeds the greater-than symbol, and you > redirect STDOUT > to /dev/null, and then redir

RE: Redirect to /dev/null

2003-10-10 Thread Charles Howse
> What is the proper way to redirect output to /dev/null? I've > been using the following in my crontab but output is still > ending up in my mailbox. > > ... 2>&1 > /dev/null The ampersand preceeds the greater-than symbol, and you redirect STDOUT to /dev/null, and then redirect STDERR to STDOU

Re: Redirect to /dev/null

2003-10-10 Thread Dan Nelson
In the last episode (Oct 10), Max Clark said: > What is the proper way to redirect output to /dev/null? I've been > using the following in my crontab but output is still ending up in my > mailbox. > > ... 2>&1 > /dev/null I'm sure this is in a sh FAQ someplace: What you did was dup fd1 onto fd2,