Shutdown command: shutdown or poweroff
shutdown:shutdown -h now #立即关机(shutdown -h 10 #10分钟后关机)
(Recommended tutorial: centos usage tutorial)
poweroff: Just enter poweroff directly:
Restart command: shutdown or reboot
shutdown:shutdown -r now #立即重新启动 (shutdown -r +10 #10分钟之后重启)
reboot: Just enter it directly.
Recommended related video tutorials: linux video tutorial
The above is the detailed content of How to shut down the centos system using commands. For more information, please follow other related articles on the PHP Chinese website!