close
» » ShellCheck - utility for debugging your shell scripts

ShellCheck - utility for debugging your shell scripts

Tools
ShellCheck — utility for debugging your shell scripts
ShellCheck a useful utility for those who uses/writes shell scripts. Utility will help you to find bugs or inaccuracies or more optimal solutions.
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.
- See the gallery of bad code for examples of what ShellCheck can help you identify!
Installation latest version into Linux Mint:
sudo apt-get install shellcheck -y
Very easy to use
shellcheck yourscript
ShellCheck - utility for debugging your shell scripts
In addition, you can use the Web version, and test the code directly on the official page of the utility.
May the Force be with you,
Good Luck!!!
github.com​​​

Print version

Add comments

  • Local comments
  • Facebook comments
  • bowtiesmilelaughingblushsmileyrelaxedsmirk
    heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
    winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
    worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
    expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypensive
    disappointedconfoundedfearfulcold_sweatperseverecrysob
    joyastonishedscreamtired_faceangryragetriumph
    sleepyyummasksunglassesdizzy_faceimpsmiling_imp
    neutral_faceno_mouthinnocent