linux halt 命令详解

  功能说明:关闭系统。

  语  法:halt [-dfinpw]

  补充说明:halt会先检测系统的runlevel。若runlevel为0或6,则关闭系统,否则即调用shutdown来关闭系统。

  参  数:
  -d  不要在wtmp中记录。
  -f  不论目前的runlevel为何,不调用shutdown即强制关闭系统。
  -i  在halt之前,关闭全部的网络界面。
  -n  halt前,不用先执行sync。
  -p  halt之后,执行poweroff。
  -w  仅在wtmp中记录,而不实际结束系统。

相关文章:

  • 2021-11-14
  • 2021-07-23
  • 2022-02-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
猜你喜欢
  • 2022-03-04
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案