Skip to content

Instantly share code, notes, and snippets.

@fordhurley
Created October 24, 2014 11:48
Show Gist options
  • Save fordhurley/824b356be81d7145dcf6 to your computer and use it in GitHub Desktop.
Save fordhurley/824b356be81d7145dcf6 to your computer and use it in GitHub Desktop.
bash script boilerplate
#!/usr/bin/env bash
set -o xtrace # Expand and echo commands
set -o nounset # Error if attempt to use undefined variable
set -o errexit # Abort script at first error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment