虚拟机关机命令有哪些_虚拟机关机命令poweroff等汇总
时间:2023-09-29 05:12:06
虚拟机技术是虚拟化的一种,很多用户都喜欢在虚拟机上用poweroff进行自定义关机,那么他的关机命令还有着哪些呢?下面就一起来看看更多的命令符号吧。
【电脑定时关机命令常见问题大全】
虚拟机关机命令有哪些:
关机命令的输入方法为:按下“Win+R”打开“运行”输入 cmd “进入命令提示符”
一、poweroff
1、poweroff :关机并关闭电源
2、poweroff -p:关机并关闭电源
3、poweroff -f :强制关机
4、poweroff -w:不是真正的关机,只是将数据写入到/var/log/wtmp文件
二、reboot
1、reboor :重启,相当于shutdown -r now
2、reboot -d :重新启动时不把数据写入记录文件 /var/tmp/wtmp
3、reboot -f :强制重新开机
4、reboot -h:在系统关机之前,将所有的硬盘处于待机模式下
5、reboot -i :关闭网络设置之后再重新启动系统
6、reboot -n :保存数据后重启
三、halt
1、halt :关机
2、halt -d :关闭系统,不把记录写到/var/log/wtmp文件里
3、halt -p :关机并关闭电源
4、halt -f :强制关机
四、init
1、init 0 :关机
2、0-6:表示系统运行的7个级别
0、关机级别
1、单用户级别,运行rc.sysinit和rc1.d目录下的脚本
2、多用户,但系统不会启动NFS,字符模式
3、多用户,字符模式,系统启动具有网络功能
4、用户自定义级别
5、图形界面模式
6、重启级别
五、shutdown
1、shutdown -h now :立即关机
2、shutdown -h 10:53:到10:53关机
3、shutdown -h +10 :10分钟后自动关机
4、shutdown -r :重启(默认30秒)
5、shutdown -r now :立即重启
6、shutdown -r +30 :"The System Will Reboot 30 in Mins":30分钟后重启并发送通知给其他在线用户
7、shutdown -s -t 100 :延迟100秒关机
8、shutdown -a :取消上面的关机、重启
六 、按Ctrl + Alt + Delete键---- 选择关机
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
2020年免费升级win10有什么方法_2020年免费升级win10系统的方法步骤教程
![](https://img.aspxhome.com/file/2023/3/a297550_0s.jpg)
excel提示打开的文件.xls的格式与文件扩展名不一致怎么办
51重装系统怎么用?51重装系统使用教程
![](https://img.aspxhome.com/file/2023/7/a330113_0s.jpg)
Win10开始菜单按钮失灵Bug?
![](https://img.aspxhome.com/file/2023/26/a223085_0s.jpg)
Excel函数怎么计算已知出生日期计算员工年龄
excel中sheet标签的颜色怎么设置?
PPT圣诞快乐模板怎么做?PPT手绘制作圣诞快乐模板教程
![](https://img.aspxhome.com/file/2023/10/a350206_0s.png)
聪明电脑的训练记值得一学哦
WPS文字如何添加图片并设置图片
静读天下怎么设置朗读?静读天下设置朗读的方法
![](https://img.aspxhome.com/file/2023/8/a333946_0s.jpg)
在Word中手工绘表格的技巧
![](https://img.aspxhome.com/file/2023/5/24965_0s.png)
Word 新建默认字体修改方法
![](https://img.aspxhome.com/file/2023/2/20572_0s.png)
Win11更新提示0x80070643怎么办?Win11更新提示0x80070643的解决方法
![](https://img.aspxhome.com/file/2023/27/a237010_0s.png)
WPS文字 区分文档是否保存 动画教程
Win7升级Win10启动不了怎么办?
![](https://img.aspxhome.com/file/2023/1/a279325_0s.png)
Win10网络重置后无法连接网络怎么办?
![](https://img.aspxhome.com/file/2023/26/a221155_0s.jpg)
wps怎么设计格子蒙版效果的图片?
![](https://img.aspxhome.com/file/2023/4/a166394_0s.jpg)
如何修改京东绑定的手机号 京东手机号修改方法
![](https://img.aspxhome.com/file/2023/8/a336462_0s.png)
word怎么调整公式的大小?
![](https://img.aspxhome.com/file/2023/8/30618_0s.jpg)
word 怎么求平均数
![](https://img.aspxhome.com/file/2023/2/33192_0s.jpg)