How do I check if a Linux service is enabled?

How do I check if a Linux service is enabled?
Answer
List running services using service command on a CentOS/RHEL 6.x or older
  1. Print the status of any service. To print the status of apache (httpd) service: …
  2. List all known services (configured via SysV) chkconfig –list. …
  3. List service and their open ports. netstat -tulpn.
  4. Turn on / off service. …
  5. Verifying the status of a service.
 

Tìm kiếm

Back
Top