Linux---systemctl command __linux

Source: Internet
Author: User


The SYSTEMCTL command is the System Service Manager directive, which actually combines the two commands of service and Chkconfig. I will not introduce the previous, only the new instructions, as follows:

Task Instructions
Make a service start automatically Systemctl Enable Httpd.service
Make a service not start automatically Systemctl Disable Httpd.service
Check service status (detail) Systemctl Status Httpd.service (service details)
Check Service status Systemctl is-active Httpd.service (show whether active only)
Show all started services Systemctl list-units--type =service
Start a service Systemctl Start Httpd.service
Stop a service Systemctl Stop Httpd.service
Restart a service Systemctl Restart Httpd.service

        recently contacted a lot of things, and suddenly found that they have not known the knowledge of the Linux system, need to strengthen.

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.