当前位置: 首页> 汽车> 新车 > 专业品牌营销策划_个人博客搭建_seo引擎优化是什么_杭州网站优化多少钱

专业品牌营销策划_个人博客搭建_seo引擎优化是什么_杭州网站优化多少钱

时间:2025/7/9 15:52:54来源:https://blog.csdn.net/weixin_48161246/article/details/143111565 浏览次数: 0次
专业品牌营销策划_个人博客搭建_seo引擎优化是什么_杭州网站优化多少钱

linux关机重启相关命令总结

shutdown

shutdown使用方法如下 : shutdown 后面跟上可选参数

[root@localhost ~]# shutdown --help
shutdown [OPTIONS...] [TIME] [WALL...]Shut down the system.--help      Show this help-H --halt      Halt the machine-P --poweroff  Power-off the machine-r --reboot    Reboot the machine-h             Equivalent to --poweroff, overridden by --halt-k             Don't halt/power-off/reboot, just send warnings--no-wall   Don't send wall message before halt/power-off/reboot-c             Cancel a pending shutdown

使用shutdown重启机器命令如下:

shutdown -r now  //立刻重启

使用shutdown关机命令如下:

shutdown -h now //立刻关机
shutdown

poweroff

poweroff的使用说明如下: poweroff 后面 加上可选参数

[root@localhost ~]# poweroff --help
poweroff [OPTIONS...]Power off the system.--help      Show this help--halt      Halt the machine-p --poweroff  Switch off the machine--reboot    Reboot the machine-f --force     Force immediate halt/power-off/reboot-w --wtmp-only Don't halt/power-off/reboot, just write wtmp record-d --no-wtmp   Don't write wtmp record--no-wall   Don't send wall message before halt/power-off/reboot

poweroff关机的命令如下:

poweroff    //立刻关机
poweroff -p  //立刻关机

poweroff重启的命令如下:

poweroff --reboot

init

切换运行级别

init帮助说明如下

[root@iZ2zegpluo0zzw2visuq29Z nmkj]# init --help
init [OPTIONS...] {COMMAND}Send control commands to the init daemon.--help      Show this help--no-wall   Don't send wall message before halt/power-off/rebootCommands:0              Power-off the machine6              Reboot the machine2, 3, 4, 5     Start runlevelX.target unit1, s, S        Enter rescue modeq, Q           Reload init daemon configurationu, U           Reexecute init daemon

使用init重启命令如下:

init 6

使用init关机命令如下:

init 0

reboot

这个是平时重启最常用的命令,具体帮助手册如下

[root@iZ2zegpluo0zzw2visuq29Z nmkj]# reboot --help
reboot [OPTIONS...] [ARG]Reboot the system.--help      Show this help--halt      Halt the machine-p --poweroff  Switch off the machine--reboot    Reboot the machine-f --force     Force immediate halt/power-off/reboot-w --wtmp-only Don't halt/power-off/reboot, just write wtmp record-d --no-wtmp   Don't write wtmp record--no-wall   Don't send wall message before halt/power-off/reboot

还有一些其他命令,待补充--------

关键字:专业品牌营销策划_个人博客搭建_seo引擎优化是什么_杭州网站优化多少钱

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: