Files
oam/knowledge base/shellcheck.md
2024-05-12 11:44:14 +02:00

741 B

ShellCheck

Gives warnings and suggestions about bash/sh shell scripts.

  1. TL;DR
  2. Further readings

TL;DR

Installation and configuration
apt install 'shellcheck'
brew install 'shellcheck'
pacman -S 'shellcheck'
zypper in 'ShellCheck'
Usage
shellcheck '/path/to/script.sh'
shellcheck '/path/to/scripts/*.sh'

Further readings