On Tue, 2004-11-09 at 23:50 +0100, Otto Wyss wrote:
> Sorry I can't remember how I can redirect the stdout and stderr together
> into a file. I can
> 
> grep > logfile
> grep 2> logfile
> 
> but how can I redirect both together?
> 


grep 2>&1 logfile

Cheers

Blake

-- 
Blake Swadling
Senior Software Engineer
Newton Pty Ltd

Telephone:      +61 2 6247 3544
Fax:            +61 2 6247 3533
Mobile:         +61 407 026277
Web:            http://www.newton.com.au

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to