Ubuntu 關機 重新開機指令

要root權限,指令前要加sudo

重新開機
$shutdown -r
關機
$shutdown -h
模擬關機
$shutdown -k


指定時間關機
關機時間
$sudo shutdown -h 13:45
幾分後關機
$sudo shutdown -h 30
關機時間背景執行,加&
$sudo shutdown -h 30 &

取消關機
$shutdown -c

留言