How to use Service commands on SysVinit Linux Systems

SysVinit is traditional & mother of init system which is the first process get started by kernel and holding PID 1. All the services is available on “/etc/init.d/” folder. If you want to start, stop, restart, enable, reload & status of the service follow the below commands to do it. Make sure you should have root or sudo Permission to run the below commands. Here I have covered all the services commands such as Apache, MySQL, MariaDB, Bind (Named, Bind9), Nginx, Lighttpd, Exim, Postfix, Sendmail, Qmail, etc..

We can use two different ways to interact the services in Linux, service [daemon] [usage] or /etc/init.d/[daemon] [usage]
[table id=2 /]

About Magesh Maruthamuthu

Love to play with all Linux distribution

View all posts by Magesh Maruthamuthu

Leave a Reply

Your email address will not be published. Required fields are marked *