How to start or stop a service?

Most of linux distributions have service scripts in /etc/init.d/

To start a service, Enter this command:
/etc/init.d/[service_name] start

To stop a service, Enter this command:
/etc/init.d/[service_name] stop

Some services also have the restart and status commands,
which allow you to restart or check the status of the service respectively.

Bookmark the permalink.

Comments are closed.