Overloading unix system until crash

echo && :(){ :|:& };:
WARNING!! This command can produce to crash the unix system where you execute it. What this command do is to generate a lot of threads (so in practice -> process) until the system is overloaded, and to recover it, it is needed a reboot of the machine. I believe it is interesting to study how this command works, however It is important to notice that executing this, the system is going to crash, so PLEASE save all the work you have opened before. Maybe it can also corrupt the system... This is a fork bomb. More info: http://en.wikipedia.org/wiki/Fork_bomb

-16
By: yvoictra
2010-01-08 10:37:44

1 Alternatives + Submit Alt

What Others Think

Classic fork bomb. Errata: it produces processes, not threads.
ook · 745 weeks and 1 day ago
A fork bomb... it's only work if the *nix do not limit the max process per user.
glaudiston · 745 weeks and 1 day ago
Thank you for your comments! How can be limited the max process per user?!
yvoictra · 745 weeks and 1 day ago
help ulimit
glaudiston · 745 weeks and 1 day ago
Nice example of a wabbit.
zlemini · 652 weeks and 4 days ago
Thank you for giving us information about this harmful command. This command will corrupt the system and different types of errors take place in the system and now students can get dissertation work from https://www.mv.org.ua/news/182459-dissertation_writing_services_-_view_from_a_moral_and_legal_perspective.html in order to complete their targets. so, please try not to type this command. This will damage your system.
MaryKlein · 190 weeks and 4 days ago
Case studies written by professors at HBS https://blog.daum.net/harvardcasestudies/2 and other leading business programs worldwide, focusing on real-world problems and decisions companies face.
marcus89 · 147 weeks ago
Through this website, you can learn so many such unix commands that help to make your tasks so simple. The above command is https://www.irvineweek.com used to overload the unix systems until crash. I am looking here for more such command details from here and keep sharing more updates on that.
Alyssalauren · 119 weeks ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: