Captive: an alternative to tee which preserves exit status

You could know tee, a very useful Unix command that copies its standard input to standard output and to a file too. So, using a pipe (|), you can obtain a file with a copy of a command output and, at the same time, view it on the screen. E. g., instead of this: Continua a leggere