标题:
强制linux重启或关闭
[打印本页]
作者:
linda
时间:
2015-12-25 11:43
标题:
强制linux重启或关闭
Reboot linux forcibly
http://www.binarytides.com/linux-command-shutdown-reboot-restart-system/
The following command will forcefully reboot the machine. This is similar to pressing the power button of the CPU. No shutdown takes place. The system will reset instantly.
# reboot -f
------
https://major.io/2009/01/29/linux-emergency-reboot-or-shutdown-with-magic-commands/
reboot:
echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger
shutdown:
echo 1 > /proc/sys/kernel/sysrq
echo o > /proc/sysrq-trigger
[
本帖最后由 linda 于 2015-12-25 11:45 编辑
]
欢迎光临 中神通公司技术论坛 (http://trustcomputing.com.cn/bbs/)
Powered by Discuz! 6.0.0