if [ some condition ]; then whatever elif [ some condition ] || [ another condition ]; then whatever elif [ some condition ] && [ other condition ]; then whatever fi