1. 程式人生 > >linux重啟和關閉系統命令

linux重啟和關閉系統命令

重啟命令:

1、reboot

2、shutdown -r now 立刻重啟(root使用者使用)

3、shutdown -r 10 過10分鐘自動重啟(root使用者使用)

4、shutdown -r 20:35 在時間為20:35時候重啟(root使用者使用)

關機命令:

1、halt 立刻關機

2、poweroff 立刻關機

3、shutdown -h now 立刻關機(root使用者使用)

4、shutdown -h 10 10分鐘後自動關機