Home >System Tutorial >LINUX >Tips for shutting down the computer in CentOS: Use the systemctl command to shut down the computer
Introduction | Starting from CentOS 7.x, CentOS began to use the systemd service instead of daemon. The original commands related to managing system startup and managing system services were all replaced by the systemctl command. |
halt | Enter system shutdown mode, the power may not be cut off |
poweroff | Enter system shutdown mode, power off |
reboot | Restart directly |
suspend | The system hangs and enters sleep mode |
For example, to restart the system, you can execute the command #systemctl reboot
Summed upThe above is the detailed content of Tips for shutting down the computer in CentOS: Use the systemctl command to shut down the computer. For more information, please follow other related articles on the PHP Chinese website!