Staticcheck - The advanced Go linter
Opening the entry
Opening the entry
ShellCheck is a GPLv3 static analysis tool for bash and sh shell scripts that identifies syntax issues, semantic problems, and subtle pitfalls. It provides warnings and suggestions through a web interface, terminal command, editor integrations, and CI/CD pipelines. The tool outputs multiple formats including JSON, CheckStyle XML, and GCC-compatible warnings for integration into build systems.
sudo apt install shellcheck
shellcheck yourscript
koalaman/shellcheck is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.