關機與重啟命令-linux常用命令

關機與重啟命令
shutdown 接引數 接時間 控制關機或重啟(推薦使用)
引數: c 取消前一個關機命令
h 關機
r 重啟
例如: shutdown -h now
現在立刻關閉計算機
例如: shutdown -r 20:00
在晚八點的時候重啟系統
其他關機命令:
halt
poweroff
init 0
其他重啟命令:
reboot
init6

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha Code