Friday, February 7, 2014

Managing Services



Managing services


In Linux, a service is a crucial application (or collection of applications) that runs in the background. They handle everything from booting the system to serving webpages. You can use the command ‘service’ (an init script) to manage services. To get the status of all the services installed on
the system:
# service --status-all

To start a service:
# service <service name> start

To stop a service:
# service <service name> stop

To get the status of particular service:
# service <service name> status

No comments:

Post a Comment