r/tinycode • • Jun 30 '11

Bash fork bomb

This will probably crash your machine. Paste the below line into a bash terminal.

:(){ :|:& };:

9 Upvotes

8 comments sorted by

View all comments

1

u/[deleted] Jun 30 '11

Thinking of seeing how long my machine could stand up to that.

1

u/riddley Jul 01 '11

Of the OSes I've tried it on, Solaris seems to hold up the best. Linux holds up much better than it used to; although I'm not sure what changed.