Linux有以下的關機和重啓命令:shutdown, reboot, halt, poweroff,那麼它們有什麼區別呢?安全
shutdown -h now --當即關機 shutdown -h 10:53 --到10:53關機,若是該時間小於當前時間,則到隔天 shutdown -h +10 --10分鐘後自動關機 shutdown -r now --當即重啓 shutdown -r +30 'The System Will Reboot in 30 Mins' --30分鐘後重啓並併發送通知給其它在線用戶