开机启动大致流程

sync 将数据由内存同步到硬盘中。
shutdown 关机指令,你可以man shutdown 来看一下帮助文档。例如你可以运行如下命令关机:
shutdown –h 10 ‘This server will shutdown after 10 mins’ 这个命令告诉大家,计算机将在10分钟后关机,并且会显示在登陆用户的当前屏幕中。
shutdown –h now 立马关机
shutdown –h 20:25 系统会在今天20:25关机
shutdown –h +10 十分钟后关机
shutdown –r now 系统立马重启
shutdown –r +10 系统十分钟后重启
reboot 就是重启
halt 关闭系统,等同于shutdown –h now 和 poweroff
如果是通过shutdown命令设置关机的话,可以用shutdown -c命令取消关机
本文介绍了Ubuntu系统的开机启动流程,同时详细讲解了如何使用各种关机命令,包括shutdown、halt、reboot等,以及如何取消已设置的关机操作。
2615

被折叠的 条评论
为什么被折叠?



