Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2006 09:14:43 -0400
From:      Mike Jeays <mj001@rogers.com>
To:        Grant Peel <gpeel@thenetnow.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 2>&1
Message-ID:  <1148822083.95778.100.camel@chaucer.jeays.ca>
In-Reply-To: <00d601c68254$b814c330$6501a8c0@grant>
References:  <00d601c68254$b814c330$6501a8c0@grant>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1148822083.95778.100.camel>