programming
Bash Programming
Redirection Put these at the top of your scripts to direct bash to send all standard out and standard error created after the statement to $log_file. One way or another the following statements will send everything created by the current script, sub-shells, etc. to $log_file. Your code will be cleaner Read more…