---

How to Debug a Bash Script like a Boss

A lot of things can happen in a bash script that unless you know how to debug like a boss, you might as well be up a creek without a paddle. Here a short list of debugging techniques followed by examples that can be applied to any issue in bash programming.