Home>Article>Operation and Maintenance> How to use commands to restart or shut down centos7

How to use commands to restart or shut down centos7

藏色散人
藏色散人 forward
2020-11-04 14:52:58 14719browse

The following column ofcentos tutorialwill introduce to you how to use commands to restart or shut downcentos7. I hope it will be helpful to friends in need!

How to use commands to restart or shut down centos7

Friends who installed GNOME first switch to the character interface:

First log in to the system and enter the graphical interface:

Then press Ctrl Alt F6 (Ctrl Alt shift Fn for notebooks) to enter the character interface

(just enter it directly when minimizing the installation)

Shutdown command: shutdown or poweroff

shutdown:shutdown -h now #Shutdown immediately (shutdown -h 10 #Shutdown after 10 minutes)

poweroff: Just enter poweroff directly:

Restart command: shutdown or reboot

shutdown:shutdown -r now #Restart immediately (shutdown -r 10 #Restart after 10 minutes)

reboot: Just enter it directly.

The above is the detailed content of How to use commands to restart or shut down centos7. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete
Previous article:How to modify IP in centos Next article:How to modify IP in centos