Destroy Linux operating system with fork bomb

If you don’t want to completely destroy your Linux system but just neutralize it, you can go with a fork bomb using the following command:

:(){ :|: & };:

This will create a process which will duplicate it self infinitely until the system crash.

If you are in a situation where you receive unwanted guest (like Kim Dotcom), you might want to quickly delete all your hard drive content in a safe way (Use a hammer and crash it) or a programmatic way.

If you have too many hard-drive, the programmatic way will do it. This command will write random data on your hard drive without worriying for a sec for files or partitions.

sudo dd if=/dev/random of=/dev/sda

Replace /dev/sda with the hard drive you wish to delete.

Ref:
https://blog.kop.ax/destroy-your-linux/

Share

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.