for 循环 通常把变量都轮询一遍去执行一些任务ssh
如开机启动程序精简ide
for cheng in `chkconfig --list|grep 3:on |awk ‘{print $1}’`it
doclass
chkconfig $cheng offawk
done变量
for cheng in ssh crond循环
dogrep
chkconfig $cheng on程序
donedi