标签:command comm shell cond lis color shel blog while
1、if 语句
if condition1;then command1 elif condition2;then command2 else command3 fi
2、case 语句
case var in pattern1) command1 ;; pattern2) command2 ;; *) ;; esac
3、for 语句
for var in list;do command done
4、while 语句
while codition;do command done
标签:command comm shell cond lis color shel blog while
原文地址:http://www.cnblogs.com/m2492565210/p/7212276.html