linux自学_shell脚本for详解

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

相关文章
相关标签/搜索