[H-GEN] stderr
Paul Gearon
pag at tams.com.au
Tue Mar 16 02:47:51 EST 1999
(Note reply-to: being general at humbug.org.au vs Paul Gearon <pag at tams.com.au>)
> Does anyone know how to redirect stderr so I can save the output of a
> process?
>
> ie I need to do a
>
> executable > test.log
>
> except for stderr instead of stdout.
executable 2> test.log
Or if you want stderr to go along with stdout:
executable > test.log 2>&1
Regards,
Paul
Paul Gearon
gearon at computer.org
Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum immane
mittam.
(Translation from latin: "I have a catapult. Give me all the money, or I
will fling an enormous rock at your head.")
--
This is list (humbug) general handled by majordomo at lists.humbug.org.au .
Postings only from subscribed addresses of lists general or general-post.
More information about the General
mailing list