How to Devastate your Linux OS – Try Fork Bomb

by Vivek Yadav on November 20, 2008

I came across this ultimately killing,lethal command that is said to hang up your Linux system and crash it down by activating large number of processes one after the another , this is also known as ForkBomb because this is what this command actually does, this Linux command will keep on forking new processes until your system goes down with resources and hangs up, this would be a nice command to show the superiority of man over machine just type it at your shell prompt and let the destruction begin .

The command goes like,

:( ){:|:&};:

PS. Use with Caution

  • Share/Bookmark

{ 2 comments… read them below or add one }

Janardhanaya March 15, 2009 at 8:00 pm

This may not be revelant but i figured i’d post this anyway. If you’re using ubuntu 8.10 you may be in for some issues with the network manager. For some unknown reason it stops functioning. You will need to manually set you’re resolv.conf with your ISP’s DNS servers. That file is located in /etc/network/resolv.conf

pcdude2143 August 16, 2009 at 12:24 pm

That not it. It’s :( ){ :| :& };:. Kinda sad this actually works on a default Ubuntu install. Full lockup in about ten seconds.

Leave a Comment

Previous post:

Next post: