On Tue, 27 Apr 1999 [EMAIL PROTECTED] wrote:

> In a message dated 4/27/99 3:36:20 AM Central Daylight Time, 
> [EMAIL PROTECTED] writes:
> 
> > > 
> >  What does the "2" and "1" stand for, and the "&" ?
> >  One is standard output, right?
> >  
> >  
> 
> 2>&1 is the Linux was of saying - send all the standard output (1) and error 
> msgs (2) to a file.   The & is necessary syntax to make it work.  

2>&1 is the sh/bash way of saying .........

In csh/tcsh there is a different syntax to redirect both stdout and stderr

 >&

In all Unices I've used, cron uses sh/bash to run the jobs - not sure if
that can be changed, I haven't delved.

Reply via email to