Linux Emergency Reboot / Shutdown

echo 1 > /proc/sys/kernel/sysrq  
echo b > /proc/sysrq-trigger

The first line is for enabling SysRq, and the second one is for rebooting.

More info HERE.

echo 0 > /proc/sysrq-trigger  if you need to shutdown instead of rebooting
This entry was posted in Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *