shutdown halt poweroff命令

其实都差不多
shutdown -h now 立刻关机
在关机之前最好先执行几次 sync命令,sync命令会将内存中的数据写入到硬盘中。

猜你喜欢

转载自chengli-bobit.iteye.com/blog/2109333