<- Back

bash

Shebang
My favorite shebang
#!/usr/bin/env -S bash -e -x
-S
--split-string: process and split S into separate arguments; used to pass multiple arguments on shebang lines
-e
Exit immediately if a command fails
-x
Print a trace of simple commands

The Set Builtin:

https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html