Here\'s one for the bash-fu wizards. No, actually, I\'m just kidding, you\'ll all probably know this except for me..
I\'m trying to create a backup shell script. The ide
For logging, you can wrap sections of your script in curly braces and redirect the stdout to a log file:
{ script_command_1 script_command_2 script_command_3 } >> /path/to/log_file