In a linux system, you can view the commands of all services in a linux system, you can choose to start or stop services, such as ftp, ssh, and telnet, but I forgot what the command is called. Remember that it was sysconfig, however, this command is not available in the system. This command is "chkconfig -- list". The following describes the httpd service in linux as an example. # view the running status of the Service at each level. chkconfig -- listhttpd 0: close 1: Close 2: Close 3: Close 4: Close 5: Enable 6: Disable bluetooth 0: Close 1: Close 2: Close 3: Close 4: Close 5: Close 6: close # stop HTTPD service www.2cto.com [root @ zhangxx etc] # service httpd stop httpd: [OK] # start httpd service [root @ zhangxx etc] # service httpd start httpd: [OK] # restart the HTTD service [root @ zhangxx etc] # service httpd restart stop httpd: [OK] Start httpd: [OK] # Stop httpd at the running level when the machine starts [root @ zhangxx etc] # chkconfig -- level 345 httpd off [root @ zhangxx etc] # chkconfig -- list | grep httpdhttpd 0: close 1: Close 2: Close 3: Close 4: Close 5: Close 6: close # enable httpd to start www.2cto.com [root @ zhangxx etc] # chkconfig -- level 345 httpd on [root @ zhangxx etc] # chkconfig -- list | grep httpdhttpd 0: disable 1: Disable 2: Disable 3: Enable 4: Enable 5: Enable 6: Disable [root @ zhangxx etc] # This article is from the fat shark Network