Bourne Shell 101 The basics of the POSIX shell, including some common deviations like Bash. Make sure you use for /bin/sh a shell that is strictly POSIX compliant, like Dash. A good reference for quick lookups: https://steinbaugh.com/posts/posix.html