shellcheck
Verified for current stable LTS
Shellcheck Commands
Shellcheck command syntax with verified terminal examples.
Commands
8 commands for Shellcheck
shellcheck Operations
Shellcheck Command: Adjust Severity Level
shellcheck -S <error|warning|info|style> <path/to/script.sh> shellcheck Operations
Shellcheck Command: Check Shell Script
shellcheck <path/to/script.sh> shellcheck Operations
Shellcheck Command: Check Shell With Dialect
shellcheck -s <sh|bash|dash|ksh> <path/to/script.sh> shellcheck Operations
Shellcheck Command: Check Sourced Scripts
shellcheck -a <path/to/script.sh> shellcheck HTTP
Shellcheck Command: Display Output Format
shellcheck -f <tty|checkstyle|diff|gcc|json|json1|quiet> <path/to/script.sh> shellcheck Operations
Shellcheck Command: Enable Optional Checks
shellcheck -o <add-default-case,avoid-nullary-conditions,...> <path/to/script.sh> shellcheck Operations
Shellcheck Command: Ignore Error Types
shellcheck -e <SC1009,SC1073,...> <path/to/script.sh> shellcheck Operations
Shellcheck Command: List Optional Checks
shellcheck --list-optional Suggest a Shellcheck Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Shellcheck workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.