using transput connections
using standard streams
Note
Use foobar 2>&1 | tee barbaz.txt
to do the following things with the contents of stdout and stderr:
- write them to a file
- display them on the console
prior work
The method of writing the contents of stdout and stderr to a file while also displaying the contents of stdout and stderr on the console was introduced to me by an answer on Ask Ubuntu by Seth.
licensing
No rights reserved: CC0 1.0.