Enable SysRq key functionality in Linux
sysctl -w kernel.sysrq=1
Enables the SysRq key (kernel.sysrq = 1) in Linux, allowing you to use key combinations like REISUB for safely rebooting or recovering an unresponsive system without data loss. The REISUB sequence gracefully shuts down processes, syncs filesystems, and remounts them read-only before rebooting.