Force a reboot/shutdown
Posted on Wed 27 April 2011 in Linux • 1 min read
force reboot
$ echo 1 > /proc/sys/kernel/sysrq
$ echo b > /proc/sysrq-trigger
force shutdown
$ echo 1 > /proc/sys/kernel/sysrq
$ echo o > /proc/sysrq-trigger
Posted on Wed 27 April 2011 in Linux • 1 min read
force reboot
$ echo 1 > /proc/sys/kernel/sysrq
$ echo b > /proc/sysrq-trigger
force shutdown
$ echo 1 > /proc/sys/kernel/sysrq
$ echo o > /proc/sysrq-trigger