linux的关机充电流程,linux系统正确关机方法

首页 > 时尚 > 作者:YD1662025-05-24 08:00:22

linux的关机充电流程,linux系统正确关机方法(1)

Linux正确的关机流程:

1.sync --先将缓存的数据写入磁盘

2.shutdown --关机指令

3.shutdown -h now --立马关机

4.shutdown –h 20:25 --系统会在今天20:25关机

5.shutdown –h +10 --十分钟后关机

6.shutdown –r now --系统立马重启

7.shutdown –r +10 --系统十分钟后重启

reboot --重启,等同于 shutdown –r now

halt --关闭系统,等同于shutdown –h now 和 poweroff

注意:不管是重启系统还是关闭系统,首先要运行"sync"命令,把内存中的数据写到磁盘中

栏目热文

文档排行

本站推荐

Copyright © 2018 - 2021 www.yd166.com., All Rights Reserved.