test condition
if test conditionthen commandsfi
if test condition
then
commands
fi
if [ condition ]then commandsfi
if [ condition ]