linux - How do I write stderr to a file while using "tee ...
2018-8-30 · I know how to use tee to write the output (STDOUT) of aaa.sh to bbb.out, while still displaying it in the terminal: ./aaa.sh | tee bbb.out How would I now also write STDERR to a …