Bash Script Linter & ShellCheck Advisor
Analyze Bash, sh, and Zsh scripts for silent bugs, globbing vulnerabilities, unquoted expansion pitfalls, and non-portable idioms. 100% offline in your browser.
SHELL SCRIPT INPUT
0 lines
SHELLCHECK-EQUIVALENT ISSUES
0 issues
Click "Lint Script" to analyze shell code.
Frequently Asked Questions
What rules are checked?
This linter evaluates key rules: SC2086 (double quote to prevent globbing/word splitting), SC2006 (replace legacy backticks with $(...)), SC2002 (useless cat), SC2164 (use cd ... || exit), SC2181 (check exit status directly rather than $?), and SC2155 (declare and assign separately).
Can this tool execute my script?
No. This tool is a static analyzer that operates entirely through pattern inspection and lexical rules. It never executes your commands or touches your filesystem.