Rénich's Blog

Crashing your kernel on purpose

Hero image for Crashing your kernel on purpose

February 15, 2016 • 1 min read

Ok, that sounds funny, doesn't it? Well, it turns out, sometimes, you want to test your kernel dump or something of the sorts. Here's how to do it:

echo c > /proc/sysrq-trigger

This will, instanly, crash your kernel.

References: