Re: [Help-bash] How to create a real copy of file descriptors stdout / s
From:
Greg Wooledge
Subject:
Re: [Help-bash] How to create a real copy of file descriptors stdout / stderr?
Date:
Mon, 27 Feb 2017 08:13:14 -0500
User-agent:
Mutt/1.4.2.3i
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.