Systemd Linux init System

sandeep negi
1 min readNov 8, 2019

--

To initialize something after the kernel is being loaded we use a system called as init system there is a various init system out there but the most prefered one is the systemd which is used by most of the linux system.

So Systemd which is used as an init system can manage services and daemons. It can initialize the components after the kernel is loaded.

Systemctl is a central management tool that is used to control the init system. So today we will learn to start, stop, enable, disable and check the status of the services.

sudo systemctl start httpd

above command will start the httpd service which is a service for apache.

sudo systemctl stop httpd

Above command will stop the service

sudo systemctl enable httpd

Above command will enable the service on reboot

sudo sytemctl is-enabled httpd

This will check whether the service is enabled or not.

This is a brief about the systemctl command checkout more and share with us.

--

--

sandeep negi
sandeep negi

Written by sandeep negi

Software Engineer, who loves challenges and new technologies. :)

No responses yet