if [ expr ] ; then code fi if [ expr ]; then code fi if [ expr ]; then code else code fi if [ expr ]; then code elif [ expr ]; then code else code fi