Skip to content

Instantly share code, notes, and snippets.

@willgarcia
Created December 15, 2013 14:37
Show Gist options
  • Save willgarcia/7973734 to your computer and use it in GitHub Desktop.
Save willgarcia/7973734 to your computer and use it in GitHub Desktop.
bash debugging
set -u # check whether you have initialised all your variables
set -e # exit on fail
bash -n # syntax checks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment