How to Check, Lint, Format, and Test a Bash Script
How to check syntax, lint, format, and test Bash scripts with bash -n, ShellCheck, shfmt, and Bats, including the exact flags for each tool.
cat broken.sh·updated Aug 2026·16 examples

Shellcheck · 1 article
How to check syntax, lint, format, and test Bash scripts with bash -n, ShellCheck, shfmt, and Bats, including the exact flags for each tool.