Tech/HowTo/Linux Magic Keys and Tips

From lathama
< Tech‎ | HowTo
Jump to navigation Jump to search

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

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