Need help troubleshooting your bash scripts? Give tee and script a go.
Source: Linux Today – How to use tee and script commands to capture output and errors to file
Need help troubleshooting your bash scripts? Give tee and script a go.
Source: Linux Today – How to use tee and script commands to capture output and errors to file