DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Reboot After 5 Seconds From A Kernel Panic

09.05.2005
| 964 views |
  • submit to reddit
        
echo "5" >/proc/sys/kernel/panic
    

Comments

Snippets Manager replied on Mon, 2012/05/07 - 2:14pm

Thanks :-)

Snippets Manager replied on Tue, 2007/02/20 - 2:39pm

This only works if you have a file in the cwd called '5' with the contents '5'. You meant to say echo, not cat.