Home  >  Article  >  Operation and Maintenance  >  How to shut down Linux

How to shut down Linux

angryTom
angryTomOriginal
2019-11-02 16:30:3216129browse

How to shut down Linux

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn