how to make if's and elses in bash code example Example: bash if else if if [[ TEST-COMMAND ]] then STATEMENTS1 else STATEMENTS2 fi