Effective Shell is an ebook on shell scripting principles1.
unix-shell-script-tactics is a shell style guide that lays out common script patterns.
ShellCheck is a linter for shell scripts.
dylanaraps/pure-sh-bible - A collection of pure POSIX sh alternatives to external processes.
Appending multiple lines to a file
Start custom scripts with â,â
If you create custom scripts in a PATH
âd bin
directory, prepend them
with a ,
to keep them separate from the standard binaries and also
allow easy access via tab completion2.
Get path relative to script path
1. Kerr, D. Effective Shell. (2022).
2. Rhodes, B. Start all of your commands with a comma. (2009).