标签:
#!/bin/bash . /etc/init.d/functions for i in `seq 1 10`;do if [ $i -eq 3 ];then #continue #没有数字3 break #exit fi echo $i done echo "ok~"
break , continue , exit
原文地址:http://www.cnblogs.com/tangshengwei/p/5430830.html