systemctl

Control the systemd init system and service manager.

medium risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
What it does

systemctl manages service lifecycle (start/stop/restart/reload), enables services to start at boot, and queries status with recent logs. Always verify service status after restart in automated scripts.

Examples
systemctl status nginxCheck nginx service status, PID, and recent log lines · explain & risk-check →
systemctl restart nginx && systemctl is-active nginxRestart nginx and confirm it's running · explain & risk-check →
systemctl enable --now dockerEnable Docker at boot AND start it immediately · explain & risk-check →
Pro tip

Use `systemctl list-units --type=service --state=failed` to see all failed services — great for post-reboot health checks.

Related
journalctl service ps kill
Open the full explainer →More in System & Processes

Reference text is hand-written and may be incomplete — check man systemctl for your version. Test destructive commands on a non-production system first.