echo "b" > /proc/sysrq-trigger # Emulates a crash
The most relevant options, from the Linux kernel manual:
- b - Reboots the kernel without first unmounting file systems or syncing disks attached to the system.
- c - Crashes the system without first unmounting file systems or syncing disks attached to the system.
- o - Shuts off the system.