help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] How to create a real copy of file descriptors stdout / s


From: Patrick Schleizer
Subject: Re: [Help-bash] How to create a real copy of file descriptors stdout / stderr?
Date: Mon, 27 Feb 2017 14:13:00 +0000

Greg Wooledge:
> On Mon, Feb 27, 2017 at 12:03:00AM +0000, Patrick Schleizer wrote:
>> my goal is to duplicate, redirect all output (stdout and stderr) of an
>> application (apt-get) to a file while retaining the usual behavior of
>> apt-get, stdout and stderr.
> 
> I strongly recommend script(1) instead of some redirection kludge.
> 
> 

script(1) looks interesting. Almost like the tool I am missing. However,
it's man page discourages use in non-interactive scripts?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]