Resources about Bash scripts

Here are a few resource I find useful:

Documentation and guidelines

Tools

  • ShellCheck — Inspect shell scripts
  • ShellCheck Online — Use Shellcheck online
  • Shfmt — a shell formatter
  • Exlainshell — write down a command-line to see the help text that matches each argument
  • bats-core — a great test runner for Bash scripts. BashSupport Pro already integrates it.

Maybe also add https://github.com/bats-core/bats-core ?

Thanks, bats-core is definitely worth a mention. I’ve updated the list above.