test your process limits

:(){ :|:& };:

By: gpshead
2009-03-27 04:44:18

What Others Think

Stop posting this people
linuxrawkstar · 661 weeks and 1 day ago
Srsly? Again? Admins: can you put something in that will check if there's a previous post with the *exact same command*?
isaacs · 661 weeks and 1 day ago
fork bomb. It must be prohibited on this resource
Charon · 661 weeks and 1 day ago
While I agree that this should not be posted with the limited comments it has, it should be posted. Linux users need to: a) be aware that people may maliciously recommend commands like this be used - understand what it is doing before you run it on your system. b) if you are the system admin, consider setting the process limits. There is a good write up discussing this at: http://rg03.wordpress.com/2007/05/12/limiting-the-number-of-user-processes-under-linux-or-how-i-learned-to-stop-worrying-and-love-the-fork-bomb/
dengel · 661 weeks ago
Oh good hell! Seriously?! Again? You're so creative! Tell me, have you heard of "search" before? Yeah. It's at the top. It's called "Grep the archive".
atoponce · 661 weeks ago
It's good to have it as info but should be better explained. Anyway, no conscious sysadmin should run this before checking what it does.
st0p · 653 weeks and 1 day 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: