[Linux] Turn All Services Off

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

Leave a comment

About this Entry

This page contains a single entry by Pank published on October 1, 2009 2:45 PM.

FileZilla 2.2.x sftp UTF-8 亂碼問題 was the previous entry in this blog.

VMware vSphere Client Fix for Windows 7 is the next entry in this blog.

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

Monthly Archives