How to shut down Linux
1. Linux shutdown method with interface:
In the upper right corner of the desktop, click the shutdown icon or pull down the triangle icon to find the shutdown icon.
2. Shut down through the terminal
Shut down immediately:
sudo shutdown -h now sudo init 0 poweroff
Delayed shutdown:
sudo shutdown -h 10 [“准备关机”] //10分钟后关机。方括号表示可选,用于在关机前提醒 shutdown -c 取消关机
Supplement:
Restart immediately
sudo shutdown -r now sudo reboot
Delayed restart:
sudo shutdown -r 10 //10分钟后重启 shutdown -c 取消重启
Recommended: "1inux Basic tutorial》
The above is the detailed content of How to shut down Linux. For more information, please follow other related articles on the PHP Chinese website!