Linux經常使用命令之——開關機

一、shutdown命令


[root@localhost~]# shutdown [選項] 時間
選項
-c: 取消前一個關機命令
-h:關機
-r:重啓

二、其餘關機命令


[root@localhost~]# halt
[root@localhost~]# poweroff
[root@localhost~]# init 0

三、其餘重啓命令


[root@localhost~]# reboot
[root@localhost~]# init 6

四、系統運行級別


- 0 關機
- 1 單用戶
- 2 不徹底多用戶,不含NFS服務
- 3 徹底多用戶
- 4 未分配
- 5 圖形界面
- 6 重啓

五、退出登陸命令


[root@localhost~]# logout
相關文章
相關標籤/搜索