Todd,
your awesome! It worked. Thanks.....
Todd Lyons wrote:
> David Rankin wrote on Thu, Oct 24, 2002 at 09:49:28PM -0500 :
> > Listmates,
> >
> > I'm suffering from a cranal-rectal inversion and just can't seem to
> > figure out how to redirect output to BOTH a log file and to stdout at
> > the same time. I just want the output to appear on the screen and in the
> > log file. I did rtfm, but the stdout 2 stderr, then vice versa, and then
>
> program | tee logfile
>
> The file "logfile" will contain stdout while both stdout and stderr will
> print to the console. If you want to log both stdout and stderr, you'll
> want to change it to:
>
> program 2>&1 | tee logfile
>
> This is from memory, so if I'm a little off, my apologies.
>
> Blue skies... Todd
> --
> MandrakeSoft USA http://www.mandrakesoft.com
> Never take no as an answer from someone who's not authorized to say yes.
> --Ben Reser on Cooker ML
> Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.19-16mdk
>
> ------------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature
--
David C. Rankin, J.D., P.E.
RANKIN * BERTIN, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com