Linux chkconfig command details how to use Linux chkconfig command

Source: Internet
Author: User

This is a program developed by Red Hat Company under the GPL rules to query what system services the operating system will perform in each execution level, including all types of resident services.

Grammar

chkconfig [--add][--del][--list][system service] or Chkconfig [--level < grade code]

[System Services] [On/off/reset]

Parameters:

  • --add adds the specified system service, allows the chkconfig instruction to manage it, and adds the relevant data to the system-initiated narrative file.
  • --del deletes the specified system service, is no longer managed by the Chkconfig command, and deletes the relevant data in the system-initiated narration file.
  • --level< Level Code > Specify the system service to be opened or closed in which execution level.

Instance

Lists all the commands known to Chkconfig.

# chkconfig-list

Open the service.

# chkconfig Telnet on//open Telnet Service

# Chkconfig-list//List of all services known to Chkconfig

Turn off services

# chkconfig Telnet off//Turn off Telnet service

# Chkconfig-list//List of all services known to Chkconfig

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.