Shell: October 2009 Archives

[Linux] Turn All Services Off

user-pic
Vote 0 Votes

chkconfig --list | awk '/0:/{system("chkconfig "$1" off")}'

Linux 安裝好預設會開一些 Service, 若用不到就先全關, 再開自己要的.
chkconfig crond on
chkconfig network on
chkconfig syslog on
chkconfig sshd on

About this Archive

This page is an archive of entries in the Shell category from October 2009.

Shell: March 2009 is the previous archive.

Shell: March 2010 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives