Main.ManagingRedHatServices


Managing Redhat services- useful commands:

To list all services:

service command – list running services

Get the status of all services:

service --status-all

Search for status info about a particular service (replace SERVICNAME as appropriate):

service --status-all | grep SERVICENAME

Page the service status output:

service --status-all | less

Print out the status of a particular service

service SERVICENAME status

List all known services (configured via SysV)

chkconfig --list

Useful commands for examining ports and services

netstat -tulpn

Permanently enable or disable services

chkconfig SERVICENAME off
chkconfig SERVICENAME on