关机、重启命令

(1)关机:

   CentOS 7

       

systemctl poweroff

通用

poweroff
或者
halt

(2)重启:

CentOS 7

systemctl reboot

通用

reboot

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章