[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Redirecting stdout and stderr into a file



Upayavira <uv@upaya.co.uk> wrote:

> >but how can I redirect both together?
> >  
> >
> cat foo 2>&1 > logfile
> or, to append to the file:
> cat foo 2>&1 >> logfile
> 
Sorry, does not work, both still comes on the terminal.

O. Wyss



Reply to: