is there any software, like lint for C, to check shell scripts ?


  1. the syntax

  2. the compatibility with bash ksh etc...

online web service or installable as program

I don't want to run and debug. I am looking for static analisys, as lint for C.

  • I know of checkbasisms. – amphetamachine Jul 6 '17 at 22:11
  • @Jeff Schaller nope see my edit – Massimo Jul 6 '17 at 22:20
  • checkbasisms : I click on 'checkbashisms Web Site' ... it open a web page 'forbidden' ... – Massimo Jul 6 '17 at 22:23

I like using ShellCheck. You can find it online at www.shellcheck.net or download for your disto from GitHub or the ShellCheck site.

Not the answer you're looking for? Browse other questions tagged or ask your own question.