關機與重啓命令-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