This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: One dumb question


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]