Linux

From Devpit
Jump to: navigation, search

How to reboot the machine if /sbin/ doesn't exist:

for i in s s u s b ; do echo $i > /proc/sysrq-trigger ; sleep 2 ; done" -- that will sync your fs, do an emergency unmount, and instantly reboot