Home > Operation and Maintenance > CentOS > How to shut down centos7

How to shut down centos7

王林
Release: 2020-05-16 16:36:30
Original
5347 people have browsed it

How to shut down centos7

We can use shutdown, halt, poweroff and other commands to shut down. You can use the command man shutdown to view its help documentation.

For example, we can run the following command to shut down:

shutdown -h 10    #计算机将于10分钟后关闭,且会显示在登录用户的当前屏幕中
shutdown -h now    #计算机会立刻关机
shutdown -h 22:22    #计算机会在这个时刻关机
shutdown -r now    #计算机会立刻重启
shutdown -r +10    #计算机会将于10分钟后重启
reboot    #重启
halt    #关机
Copy after login

Recommended tutorial: centos tutorial

The above is the detailed content of How to shut down centos7. 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