Home / Linux / How to Use systemctl (Start, Stop, Status)

How to Use systemctl (Start, Stop, Status)

Learn the essential systemctl commands to manage services on Linux: status, start, stop, restart, enable, and logs.

Views: 22 Unique: 16 Updated: 2026-03-20

What this is

systemctl is the main command to control services on Linux systems using systemd.

What it is for

  • Start and stop services (nginx, apache, mysql, ssh)
  • Check health and troubleshoot failures
  • Enable services to start at boot

Prerequisites

  • SSH + sudo

Step-by-step (core commands)

Check status

sudo systemctl status nginx --no-pager

Expected output: Active: active (running) if healthy, or error details if not.

Start a service

sudo systemctl start nginx

Stop a service

sudo systemctl stop nginx

Restart a service

sudo systemctl restart nginx

Reload a service (if supported)

sudo systemctl reload nginx

Enable at boot

sudo systemctl enable nginx

Disable at boot

sudo systemctl disable nginx

See failed services

systemctl --failed

Final verification

sudo systemctl is-enabled nginx
sudo systemctl is-active nginx

Conclusion

systemctl is the foundation of managing services on modern Linux servers.

Back to category