Which command controls the systemd system and service manager?

Subh Singh
Invent the Future

In Linux, the systemctl command is used to manage system services. It helps you start, stop, and check services.

Command:

systemctl

Example:

If you want to check a service in Linux, you can use the following command.

systemctl status sshd

Output:

sshd.service - OpenSSH server daemon
     Loaded: loaded
     Active: active (running)

Here:

  • sshd.service shows the service name.
  • Loaded shows that the service is loaded.
  • Active shows that the service is running.

How to use:

  • Open the Linux terminal.
  • Type the command.
  • Press Enter to check the service.