Conditionals in BashEdit
[: alias for thetestcommand, is POSIX and portable, supported by many shells[[: a language keyword, supported by Bash/Zsh, additional features (eg. not necessary to quote variables etc)if: nakedifconstruct can be used to check if commands complete successfully (egif ! some_command; then ...; fi)