12 11 10 09 08 07
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.