On Wednesday 10 November 2004 18:03, Rob Sims wrote:
> > Blake Swadling <[EMAIL PROTECTED]> wrote:
> > > > but how can I redirect both together?
> command > logfile 2>&1

man bash has a chapter for redirection (starting at line 1426!)
For example, it reports the following commands:
ls > logfile 2>&1
will redirect both sdtout and stderr, while
ls 2>&1 > logfile
will only redirect stdout to logfile...

Gregor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to