top of page


How can I log all commands and their outputs, including errors, to a file?
Log all commands and their outputs, including errors, to a file using exec > >(tee -i output.log) 2>&1. See the post for how this works.


Single Line Bash Script Split Hack
This post lists a simple sed script that will split a bash script written in a single line. Note: this script is a hack; it can produce...
bottom of page