2>&1

Mike Jeays mj001 at rogers.com
Sun May 28 06:14:55 PDT 2006


On Sun, 2006-05-28 at 08:46 -0400, Grant Peel wrote:
> Hi all,
> 
> When using cron, I understand the >/dev/null thing OK, but what exactly does 
>  >2&1 do? Is it usefull anywhere else? Where might one find ducumentation on 
> it?
> 
> -Grant
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

It directs both stdout and stderr to /dev/null.  Look in 'man bash', or
any tutorial on bash for a more detailed description.  Quite confusing
syntax, and a hard-to-remember incantation, IMHO.

-- 
Mike Jeays
http://ca.geocities.com/mike.jeays@rogers.com



More information about the freebsd-questions mailing list