linux定时关机怎么设置_linux定时关机shutdown命令汇总
时间:2023-02-01 02:01:45
当linux在运作时不能直接关闭电源容易将档案系统损毁,因此需要用shutdown以安全的方式关闭,那么这个操作该怎么实现呢?下面就为大家带来了详细教程。
【电脑定时关机命令常见问题大全】
linux定时关机怎么设置:
运行命令方法:按下“Win+R”打开“运行”输入 cmd 打开“命令提示符”
输入关机命令:
1、halt 立刻关机
2、poweroff 立刻关机
3、shutdown -h now 立刻关机(root用户使用)
4、shutdown -h 10 10分钟后自动关机
如果希望终止上面执行的10分钟关机,则执行:shutdown -c
5、shutdown -h 22:00 希望在22:00关闭计算机
6、shutdown -r now 立即重启
linux定时关机格式设置:
输入命令格式为:
shutdown [选项] [时间] [消息]
并有如下选项:
- k 不执行任何关机操作,只发出警告信息给所有用户
- r 重新启动计算机
- h 关机并彻底断电
- f 快速关机且重启动时跳过fsck
- n 快速关机不经过init程序
- c 取消之前的定时关机
标签:linux定时关机shutdown命令汇总
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
win7进不了系统的解决方法
2023-12-10 11:38:49
![](https://img.aspxhome.com/file/2023/4/a307667_0s.jpg)
在Excel表格中快速插入或编辑批注的方法
2023-08-06 20:55:23
曹操专车app怎么租车?曹操专车app租车的方法
2022-04-20 23:30:40
![](https://img.aspxhome.com/file/2023/8/a335803_0s.png)
Win10如何清除开机弹窗广告?Win10开机广告彻底清除操作方法
2022-07-06 12:05:44
![](https://img.aspxhome.com/file/2023/1/a280932_0s.png)
Win7分辨率调整不了如何处理?
2023-03-27 17:54:39
![](https://img.aspxhome.com/file/2023/27/a233171_0s.jpg)
PowerPoint2013新增功能及其使用技巧
2022-09-14 00:10:21
Win10电脑玩游戏FPS值过低怎么办?小编教你快速利用Windows功能提高FPS
2023-08-06 11:53:10
![](https://img.aspxhome.com/file/2023/26/a222269_0s.png)
解读Geekbench 5,Geekbench 5系统检测跑分工具入门指南
2023-08-22 02:10:12
![](https://img.aspxhome.com/file/2023/1/a212861_0s.jpeg)
优秀的人像美容插件Delicious Retouch 4.5
2022-05-29 11:45:32
![](https://img.aspxhome.com/file/2023/4/a213424_0s.jpeg)
excel表格怎么输入001
2023-05-28 07:27:32
Windows 10正式版就在眼前 最快是下周
2023-06-11 09:47:50
![](https://img.aspxhome.com/file/2023/28/a249452_0s.jpg)
cpunumber.exe是什么进程 能随便结束掉吗 cpunumber进程介绍
2023-02-12 22:43:42
Word如何美化文档
2023-12-04 21:19:24
win10我的电脑打不开怎么办?win10我的电脑打不开解决方法
2023-11-22 10:22:44
![](https://img.aspxhome.com/file/2023/26/a223929_0s.png)
企业微信同步微信通讯录的方法 企业微信怎么同步微信通讯录
2022-03-29 13:46:29
![](https://img.aspxhome.com/file/2023/8/a338158_0s.jpg)
wps ppt怎么让图片降低透明
2023-02-21 08:53:29
PowerPoint2007不能撤消所做的更改
2023-04-07 23:07:46
XP系统还原失败是什么原因?
2022-09-21 16:28:44
![](https://img.aspxhome.com/file/2023/3/a298301_0s.jpg)
word分隔符使用详细教程
2023-07-28 21:45:04
![](https://img.aspxhome.com/file/2023/7/33727_0s.png)
ppt怎么将SmartArt图形添加动画效果?
2023-12-26 05:55:28
![](https://img.aspxhome.com/file/2023/10/a346301_0s.png)