2239
Best practice
Error
Ensure the shebang uses an absolute path to the interpreter
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.
Ensure the shebang uses an absolute path to the interpreter
To run as a command, use $(..) instead of '..'
Instead of [ a && b ], use [ a ] && [ b ]