码迷,mamicode.com
首页 > 系统相关 > 详细

Linux 关机

时间:2018-09-18 22:41:06      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:shutdown   serve   his   linux   spl   alt   one   计算机   none   

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 就是重启,等同于 shutdown r now

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

Linux 关机

标签:shutdown   serve   his   linux   spl   alt   one   计算机   none   

原文地址:https://www.cnblogs.com/sea-stream/p/9671181.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!