Linux Magic Keys and Tips

From lathama
Jump to: navigation, 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

Sponsorship and Advertising space here. Please contact me if interested.