for i in `chkconfig --list|grep "3:on"|awk '{print $1}' `; do echo $i; chkconfig $i off; echo $i "is off"; echo ""; sleep 1; done
转载于:https://blog.51cto.com/gavinshaw/585219
for i in `chkconfig --list|grep "3:on"|awk '{print $1}' `; do echo $i; chkconfig $i off; echo $i "is off"; echo ""; sleep 1; done
转载于:https://blog.51cto.com/gavinshaw/585219