facebook pixelShell Static Analysis Rules
BACK TO LIST

Shell rules

Bash, zsh, ksh: regardless what Shell you use, Codiga got you covered. With hundreds of rules, the Codiga Static Engine checks for any issue in your shell script and surfaces issues in your Shell codebase.

      2239

      Best practice
      High

      Ensure the shebang uses an absolute path to the interpreter

      Learn more

      2041

      Best practice
      High

      To run as a command, use $(..) instead of '..'

      2107

      Best practice
      High

      Instead of [ a && b ], use [ a ] && [ b ]