Capture stdout and stderr to file with tee 2023-09-08 How to capture stdout and stderr with tee command: