[Whonix-devel] [Help-bash] How to create a real copy of file descriptors stdout / stderr?

Patrick Schleizer adrelanos at riseup.net
Mon Feb 27 15:13:00 CET 2017


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?



More information about the Whonix-devel mailing list