if [ conditons ] then 조건만족시 실행하고자 하는 문장 else 조건 불만족시 실행하고자 하는 문장 fi