Begin every Bash script
- Make this the first line of every Bash script:
- Or make this the first line of every Bash script when you’d like to avoid the default behavior of having Bash read /etc/profile (the system-wide startup file) or ~/.bash_profile, ~/.bash_login, or ~/.profile (any of the personal initialization files):
These are special comment lines that are not required, but are used by convention to let the shell (the environment the terminal is running in) know which interpreter to use when running your script.
Obligatory Happy Ending
And they all lived happily ever after. The end.