Andrew Latham

When using Linux and maybe some other systems there are reserved key combinations and other interfaces that let you interact with the kernel directly. Read more at https://en.wikipedia.org/wiki/Magic_SysRq_key

Examples

Reboot

ALT + SysRq + b

Shutdown

ALT + SysRq + o

Forcing 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