-
-
Save priyadarshan/87bd47ea9cb27fa390cf5001fe4bde7d to your computer and use it in GitHub Desktop.
How to start every shell script, since I can never remember
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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