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分钟后重启并并发送通知给其它在线用户

reboot表示立即重启,效果等同于shutdown -r now

 

poweroff表示立即关机,效果等同于shutdown -h now,在多用户模式下(Run Level 3)不建议使用

 

halt不理会目前系统状况下,进行硬件关机,一般不建议使用

 

相关文章:

  • 2022-01-29
  • 2021-12-31
  • 2021-07-13
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
  • 2021-08-16
猜你喜欢
  • 2022-12-23
  • 2021-11-12
  • 2022-12-23
  • 2021-12-04
  • 2022-03-07
  • 2021-09-23
  • 2021-04-15
相关资源
相似解决方案