如何实现自动关机(关电源)!
时间:2007-03-30
来源:互联网
作者: wygdm 发布时间: 2007-03-30
作者: clxer 发布时间: 2007-03-30
作者: Thruth 发布时间: 2007-03-31
作者: wygdm
用shutdown 试了不行了,要用什么参数啊?
|
作者: biocyte 发布时间: 2007-03-31
-a: use /etc/shutdown.allow
-k: don't really shutdown, only warn.
-r: reboot after shutdown.
-h: halt after shutdown.
-P: halt action is to turn off power.
-H: halt action is to just halt.
-f: do a 'fast' reboot (skip fsck).
-F: Force fsck on reboot.
-n: do not go through "init" but go down real fast.
-z: shutdown using software suspend.
-c: cancel a running shutdown.
-t secs: delay between warning and kill signal.
** the "time" argument is mandatory! (try "now") **
比如说如果你想8分钟后关机的话:
su
shutdown -time 8
:》
作者: wychengcheng 发布时间: 2007-03-31
shutdown -h now
作者: wychengcheng 发布时间: 2007-03-31
作者: www1862 发布时间: 2007-03-31
作者: wygdm 发布时间: 2007-03-31
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28