Bash If Statement Examples - From http://www.thegeekstuff.com/2010/06/bash-if-statement-examples
If [ conditional expression1 ] then statement1 statement2 . elif [ conditional expression2 ] then statement3 statement4 . . . else statement5 fi