fork bomb

Understanding Bash fork() bomb ~ :(){ :|:& };:

by Vivek Gite on November 26, 2007 · 26 comments

Q. Can you explain following bash code or bash fork() bomb? :(){ :|:& };: A. This is a bash function. It gets called recursively (recursive function). This is most horrible code for any Unix / Linux box. It is often used by sys admin to test user processes limitations (Linux process limits can be configured [...]

{ 26 comments }