Skip to content

Instantly share code, notes, and snippets.

@doctaphred
Last active February 11, 2020 18:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save doctaphred/73be35be39ed083f22034c733fb96941 to your computer and use it in GitHub Desktop.
Save doctaphred/73be35be39ed083f22034c733fb96941 to your computer and use it in GitHub Desktop.
How to start every shell script, since I can never remember
#!/bin/sh -euvx
# -e If non interactive then exit immediately if a command fails.
# -u Treat unset variables as an error when substituting.
# -v Print shell input lines as they are read.
# -x Print commands and their arguments as they are executed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment