1、if 语句 if condition1;then command1 elif condition2;then command2 else command3 fi2、case 语句case var in pattern1) command1 ;; pattern2) command2 ;; *) ;; esac3、for 语句for var in list;do command done4、while 语句while codition;do command done