💾 Archived View for freeshell.de › tldr › shellcheck.gmi captured on 2023-03-20 at 21:27:00. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

shellcheck

Shell script static analysis tool.
Check shell scripts for errors, usage of deprecated/insecure features, and bad practices.

More information.

shellcheck {path/to/script.sh}
shellcheck --shell {sh|bash|dash|ksh} {path/to/script.sh}
shellcheck --exclude {SC1009,SC1073} {path/to/script.sh}
shellcheck --checked-sourced {path/to/script.sh}
shellcheck --format {tty|checkstyle|diff|gcc|json|json1|quiet} {path/to/script.sh}
shellcheck --enable={add-default-case|avoid-nullary-conditions}
shellcheck --list-optional
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY