天天看点

Linux之开关机、注销命令

关机、重启、注销命令

shutdown

  1. shutdown -h now:表示立即关机
  2. shutdown -h 1:表示1分钟后关机
  3. shutdown -r now:立即重启

halt:关机

reboot:重启

sync:把内存数据同步到磁盘

logout:注销

继续阅读