Here are a couple of quick tips for writing more robust shell scripts from my last 10 years of working with bash.