From owner-freebsd-stable Sun Jan 6 15: 9: 8 2002 Delivered-To: freebsd-stable@freebsd.org Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by hub.freebsd.org (Postfix) with ESMTP id 9310B37B402 for ; Sun, 6 Jan 2002 15:09:05 -0800 (PST) Received: from sdn-ar-007dcwashp247.dialsprint.net ([63.178.90.137] helo=moo.holy.cow) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16NMPU-0006f9-00; Sun, 06 Jan 2002 15:09:05 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id 9601950BB3; Sun, 6 Jan 2002 18:08:05 -0500 (EST) Date: Sun, 6 Jan 2002 18:08:05 -0500 From: parv To: Christopher Schulte Cc: freebsd-stable@FreeBSD.ORG Subject: Re: how to tell if 'make buildworld' finished? Message-ID: <20020106230805.GA93756@moo.holy.cow> Mail-Followup-To: Christopher Schulte , freebsd-stable@FreeBSD.ORG References: <20020106044314.GA47285@moo.holy.cow> <5.1.0.14.0.20020106155107.023627c8@pop3s.schulte.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.0.20020106155107.023627c8@pop3s.schulte.org> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message <5.1.0.14.0.20020106155107.023627c8@pop3s.schulte.org>, wrote Christopher Schulte thusly... > > At 10:37 PM 1/6/2002 +0100, you wrote: > >Hi, > > > >I usually run a shell command like this ('#' is the prompt): > ># (date; make buildworld; date) | tee /var/tmp/buildworld.log > > You can also look at the `script` command. When executed, a new shell will > begin and all output to terminal is stored in a file which can be checked > after the fact. christopher, i know about the command "script". i avoid it whenever i can for two reasons: (1) sometimes it's impossible to send SIGTSTP (STOP signal from keyboard) and (2) control characters at the end of line. i use following syntax as appropriate... # command >& log # command > log 2>&1 # command | tee [-a] log thanks anyway. - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message