How to enable/disable a service on centos?

devquora
devquora

Posted On: Mar 15, 2020

 

We can use the following command to enable or disable service on centos

To enable a service, use the following command,

Systemctl enable <service_name>

To disable a service, use the following command,

Systemctl disable <service_name>

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Centos Interview Questions

    What is CentOS?

    CentOS is one of the Linux distribution that is affiliated with the Red Hat. It is an open-source operating system that was first launched in 2004. This free operating system officially supports x86-6...

    Centos Interview Questions

    What is the CentOS variant?

    The CentOS variant is a special edition of CentOS. With this variant, you can allow another open-source project to run more effectively using CentOS as the base platform. The CentOS variant starts wit...

    Centos Interview Questions

    What is the current stable release of CentOS?

    The current stable release of the CentOS is version 8.1.1911 that was released in January 2020....