From owner-freebsd-questions Wed Nov 6 8:11:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9D2F37B401 for ; Wed, 6 Nov 2002 08:11:18 -0800 (PST) Received: from grillolja.cs.umu.se (grillolja.cs.umu.se [130.239.40.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id D264943E42 for ; Wed, 6 Nov 2002 08:11:17 -0800 (PST) (envelope-from tdv94ped@cs.umu.se) Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id 34C6AA00A; Wed, 6 Nov 2002 17:11:16 +0100 (MET) Received: from kvist.cs.umu.se (kvist.cs.umu.se [130.239.40.192]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by grillolja.cs.umu.se (Postfix) with ESMTP id E419DA003; Wed, 6 Nov 2002 17:11:13 +0100 (MET) Date: Wed, 6 Nov 2002 17:11:13 +0100 (MET) From: Paul Everlund To: "Paul A. Scott" Cc: Kent Stewart , mike , Subject: Re: simple question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new amavisd-new-20020630 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 6 Nov 2002, Paul A. Scott wrote: > > Just a shot in the dark, but how about... > > > > # script tarout tar -xvzf ports.tar.gz & > > Actually, that won't work. The 'script' command will redirect the output to > a file, but it still outputs to the terminal, which is not what was > originally requested. My previous explanation is the correct solution. # script tarout tar -xvf ports.tar > /dev/null But it doesn't seem to work with the &, as it says something about suspended tty output. Your solution, while teaching people the magic of shells, is correct and working. As I wrote, it was just a shot in the dark. :-) Best regards, Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message