systemctl
System InfoControl systemd services and system state
Examples
Common usage examples
Start nginx service
systemctl start nginxStop nginx service
systemctl stop nginxRestart nginx service
systemctl restart nginxCheck status of nginx service
systemctl status nginxEnable nginx to start at boot
systemctl enable nginxNotes
- Used in modern Linux distributions with systemd
- Requires root or sudo privileges for most commands