https://github.com/dylanaraps/pure-bash-bible
https://mywiki.wooledge.org/BashFAQ
(and of course we're all using ShellCheck to check our scripts for common mistakes)
https://github.com/dylanaraps/pure-bash-bible