One dumb question

Craig McGeachie craig@rhe.com.au
Mon Jun 18 14:24:00 GMT 2001


On 18 Jun 2001, at 11:46, David A. Cobb wrote:
> Is there a way to get the "current" bash shell to tee its output to a 
> logfile?  I remember doing something like this once upon a time but I don't 
> recall what I did and I was using a different shell (ksh on an HP/UX).

<cmd> <-options> | tee <file>

Try 'man tee'.

-----------------+---------------------------------------------------
Craig McGeachie  | #include <cheesy_tag.h>
+61 (410) 774902 | while (!inebriated) c2h5oh = (++bottle)->contents;
-----------------+---------------------------------------------------

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list