This article applies to Red Hat, Fedora, CentOS, AWS Linux distros.
For enabling, disabling and listing system services, use the script called chkconfig.
List all services
List a specific service
chkconfig --list httpd
Turn a service on for specific levels
chkconfig httpd on --level 2,3,5
Disable a service
chkconfig httpd off
For stopping, starting and restarting a service, use the script called service.
service httpd stop service httpd start service httpd restart