标签:grep ash 过滤 kconfig print 关闭 int nbsp linu
过滤出来需要的开机自启动项:chkconfig --list|grep 3:on|grep -v "crond|sshd|network|rsyslog|sysstat"
关闭不需要的自启动项:chkconfig --list|grep 3:on|grep -v "crond|sshd|network|rsyslog|sysstat"|awk ‘ {print "chkconfig",$1,"off"} ‘|bash
显示最后的开机自启动项:chkconfig --list|grep 3:on
标签:grep ash 过滤 kconfig print 关闭 int nbsp linu
原文地址:https://www.cnblogs.com/axzq/p/9523205.html