Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Craig McGeachie" To: Cygwin General MailList Date: Tue, 19 Jun 2001 07:20:34 +1000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: One dumb question Message-ID: <3B2EFD42.19827.534D27F@localhost> In-reply-to: <5.1.0.14.0.20010618114229.03d27610@mail> X-mailer: Pegasus Mail for Win32 (v3.12c) 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). <-options> | tee Try 'man tee'. -----------------+--------------------------------------------------- Craig McGeachie | #include +61 (410) 774902 | while (!inebriated) c2h5oh = (++bottle)->contents; -----------------+--------------------------------------------------- -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple