Static analysis and lint tool for bash and sh scripts
Static analysis and lint tool, for (ba)sh scripts
shellcheck
$ shellcheck script.sh
$ shellcheck *.sh
$ cat script.sh | shellcheck -S error -