[Techtalk] Newbie & crontab

Colleen Hatfield evilpig at gmail.com
Wed Nov 17 11:48:17 EST 2004


On Tue, 16 Nov 2004 23:09:27 +0000, Conor Daly
<conor.daly at cod.utvinternet.com> wrote:
> On Tue, Nov 16, 2004 at 03:09:02PM -0500 or so it is rumoured hereabouts,
> Terri Oda thought:
> >
> > Tivo-cron &> /root/tivo.out
> 
> I think this construct is for the C shell rather than bash.  Or is that:
> 
> Tivo-cron >& /root/tivo.out   ?
> 
> Nah, don't think so...
I read the bash manpage to find out the authoritative answer; you guys
got me curious ;-)

>From "man bash":
-----------
       There  are  two  formats  for  redirecting standard output and standard
       error:

              &>word
       and
              >&word

       Of the two forms, the first is preferred.  This is semantically equiva-
       lent to

              >word 2>&1
-----------

- Colleen


More information about the Techtalk mailing list