Date: Wed, 6 Nov 2002 17:11:13 +0100 (MET) From: Paul Everlund <tdv94ped@cs.umu.se> To: "Paul A. Scott" <pscott@skycoast.us> Cc: Kent Stewart <kstewart@owt.com>, mike <mike@labs.unixhideout.com>, <freebsd-questions@freebsd.org> Subject: Re: simple question Message-ID: <Pine.GSO.4.44.0211061707430.28392-100000@kvist.cs.umu.se> In-Reply-To: <B9EE7A2E.F23D%pscott@skycoast.us>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.44.0211061707430.28392-100000>