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

# First command enables sysrq functionality, 2nd tries to sync filesystems, 3d to umounts them read-only (to avoid fsck during boot) and the last reboots the machine

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count: