Linux stop and view the command usage for the start service _linux

Source: Internet
Author: User

1. View Linux Boot Services

Copy Code code as follows:

Chkconfig--list query out all currently running services
Chkconfig--list ATD Query ATD The current state of the service

2. Stop all services and no longer start the next time the system starts, as follows:

Copy Code code as follows:

Chkconfig--levels 12345 NetworkManager off

If you want to see a service that is currently running, filter it with the following statement
Copy Code code as follows:

Chkconfig--list |grep on

3. If you just want the current setting state to be valid, you can stop the service with the following command if it does not take effect after the system restarts

Copy Code code as follows:

Service sshd Stop

Related Article

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.