序号 命令 说明
1 shutdown -h now 立即关机
2 shutdown -h +10 "请各位退出"     十分钟后关机,同时广播通告“请各位退出”
3 shutdown -r 16:30 重启
4 shutdown -h 23:59 关机
5 reboot 重启
6 halt 粗暴的关机(poweroff)
7 exit / logout 退出登录,注销
8 sync 把磁盘I/O告诉缓存中的内容同步到磁盘
9 systemctl hibernate 进入睡眠
10 systemctl rescue 系统进入急救模式

 

 

 

 

 

 

 

 

 

poweroff

halt,调用shutdown,关闭系统,但不会关闭电源

reboot,非-f是调用shutdown

foweroff,相当于shutdown -h now

init

 

相关文章:

  • 2021-11-09
  • 2021-06-04
  • 2021-05-30
  • 2021-10-30
  • 2021-07-24
  • 2021-08-02
猜你喜欢
  • 2021-11-13
  • 2021-12-27
  • 2021-05-26
  • 2021-08-30
  • 2021-12-29
  • 2021-07-29
相关资源
相似解决方案