delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/18/23:00:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Craig McGeachie" <craig AT rhe DOT com DOT au>
To: Cygwin General MailList <cygwin AT cygwin DOT com>
Date: Tue, 19 Jun 2001 07:20:34 +1000
MIME-Version: 1.0
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).

<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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019