06 05 04 03 02 01
One good siteMDN
Blog licensed under a Creative Commons License
All of my bash shell scripts start like
#!/bin/bash set -euWhy? Safety. -e means bash will exit if any of the commands it runs returns an unhandled error. -u means unset environment variables are errors. It's a little safety net for shell scripting.