facebook pixelCodiga Analysis Shell Rules, severity error , category best practice
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
Error

Ensure the shebang uses an absolute path to the interpreter

Learn more

2041

Best practice
Error

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

2107

Best practice
Error

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