Ad End 1 May 2026
Ad End 4 April 2026
banner Expire 3 July 2026
ad End 25 April 2026
banner Expire 25 April 2025
adv exp at 20 April 2026
banner Expire 10 May 2026
banner Expire 23 June 2026
ad End 17 June 2026
What's new
Ads end 31 October 2026
ad End 5 May 2026
Money Club cc shop
Wizard's shop 2.0
Ad Ends 13 July 2025
Trump cc shop
UniCvv
RonalClub cc shop
BidenCash Shop
Blackstash cc shop
Kfc CLub
Yale Lodge
best shop

ShellCheck

File_closed07

TRUSTED VERIFIED SELLER
Staff member
Joined
Jun 13, 2020
Messages
8,061
Reaction score
1,031
Points
212
Awards
2
  • trusted user
  • Rich User
ShellCheck is a GPLv3 tool that gives warnings and suggestions for bash/sh shell scripts.

The goals of ShellCheck are

  • To point out and clarify typical beginner’s syntax issues that cause a shell to give cryptic error messages.
  • To point out and clarify typical intermediate level semantic problems that cause a shell to behave strangely and counter-intuitively.
  • To point out subtle caveats, corner cases and pitfalls that may cause an advanced user’s otherwise working script to fail under future circumstances.
Installing

The easiest way to install ShellCheck locally is through your package manager.

On systems with Cabal (installs to ~/.cabal/bin):

Code:
cabal update
cabal install ShellCheck

On Debian based distros:

Code:
apt-get install shellcheck
On Arch Linux based distros:

Code:
pacman -S shellcheck
On Gentoo based distros:

Code:
emerge --ask shellcheck
On EPEL based distros:

Code:
yum -y install epel-release
yum install ShellCheck
On Fedora based distros:

Code:
dnf install ShellCheck
On OS X with homebrew:

Code:
brew install shellcheck
On OS X with MacPorts:

Code:
port install shellcheck
On openSUSE:Tumbleweed:

Code:
zypper in ShellCheck
 
Ad End 1 November 2024
Top