All kinds of things can go wrong with your shell scripts, but they don't have to. Let's look a some debugging tips that can help ensure your scripts run the way you intend. The first step in debugging ...
Teeing all outputs to | tee -a log allows you to later search the outputs, but there are times when you want to search the outputs dumped to the terminal. Therefore it's critical to use a terminal ...
Last week's post provided some tips and tricks for debugging scripts. This week's provides some even better ones! In last week’s posting, I mentioned the -x and -v options that can be used on the ...
In a typical work week, a Unix systems administrator is likely to have at least one small mystery to solve — one “huh?”, one “that doesn’t make any sense” or one “I’ve never seen this before”. Most of ...