linux开关机 shutdown shutdown -h now 立即关机 shutdown -h 1 1分钟后关机 shutdown -r now 立即重启 halt 效果等价于立即关机 reboot 重启系统 syn 把内存的数据同步到磁盘上