循环语句 for while until

for i in /etc/lock/subsys/* ; do    #获取/etc/lock/subsys/下所有文件
 ...
done

猜你喜欢

转载自oracle-api.iteye.com/blog/2370584