How to shut down Linux

angryTom
Release: 2019-11-02 16:30:32
Original
16184 people have browsed it

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
Copy after login

Delayed shutdown:

sudo shutdown -h 10 [“准备关机”] //10分钟后关机。方括号表示可选,用于在关机前提醒
shutdown -c 取消关机
Copy after login

Supplement:

Restart immediately

sudo shutdown -r now
sudo reboot
Copy after login

Delayed restart:

sudo shutdown -r 10 //10分钟后重启
shutdown -c 取消重启
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template