Latest web development tutorials

Linux chkconfig command

Linux command Daquan Linux command Daquan

Linux chkconfig command is used to check a variety of services, system settings.

This is the Red Hat, Inc. under GPL rules developed by the program, it can query the operating system, which system services will be performed during the execution level, including various types of resident services.

grammar

chkconfig [--add][--del][--list][系统服务] 或 chkconfig [--level <等级代号>][系统服务][on/off/reset]

Parameters:

  • --add increase in the specified system services to chkconfig command to manage it, and at the same time increasing the relevant data in the system startup file description.
  • --del delete the specified system service is no longer managed by the chkconfig command and delete related data in the system startup file description.
  • --level <level code> Specify read System Services To turn on or off the completion of execution in which a hierarchy.

Examples

Lists all the command chkconfig know.

# chkconfig -list 

Open service.

# chkconfig telnet on //开启Telnet服务
# chkconfig -list //列出chkconfig所知道的所有的服务的情况

Close Service

# chkconfig telnet off  //关闭Telnet服务
# chkconfig -list //列出chkconfig所知道的所有的服务的情况

Linux command Daquan Linux command Daquan