Monday, June 3, 2019

systemctl : Service Manager

In this post we will be discussing about systemctl service manager

the general syntax of the command takes the format as given below....
> sudo systemctl <status> <service-name.service>
the status from the above format can be different, I would like to mention some of them here
  • start
  • stop
  • enable
  • disable


  • and so on....
for eg... if you want to start mysql service in your linux box, you can use the following command to start the service.
> sudo systemctl start mysql

Similarly you can replace the status with the values furnished above....

The following is the command to stop the service
> sudo systemctl stop mysql
To enable the service, use the following command
> sudo systemctl enable mysql
To disable the service, the command takes the following format...
> sudo systemctl disable mysql
The mentioned above are some of the options included in SYSTEMCTL service manager tool....

If you would like to know the entire details of systemctl manager... you can use the command line....
> systemctl --help

How to change the root password in linux when it is forgotten/to change

This blog is all about changing the root password of the Linux system when it is forgotten or to reset the password...   Let's get it ...