Linux Guides
Systemctl Command Cheat Sheet
All essential systemctl commands in one place with real usage patterns.
Basic Service Control
systemctl status nginx
systemctl start nginx
systemctl stop nginx
systemctl restart nginx
systemctl reload nginx
Boot Control
systemctl enable nginx
systemctl disable nginx
List Services
systemctl list-units --type=service
systemctl list-unit-files
Logs & Debugging
journalctl -u nginx
journalctl -u nginx -f
Reload Configuration
systemctl daemon-reload
Real Use Cases
- Service not starting → check status + journalctl
- Service not auto-start → enable
- Config changed → daemon-reload
Common Mistakes
- Forgetting enable
- Not running daemon-reload
- Ignoring logs