How to use tee and script commands to capture output and errors to file

Most Recent