How to force a re-boot or shutdown if the traditional commands will not work.

If your machine has errors with the hard disk and your machine has booted with a read-only filesystem, these commands can force your machine to either shutdown or reboot. Forced re-boot. echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-triggerecho 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger Forced shutdown. echo 1 > /proc/sys/kernel/sysrq echo o > … Read more