Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
ForkBomb
Edit
PageHistory
Diff
Info
LikePages
__DO NOT ACTUALLY RUN THIS COMMAND IN YOUR SHELL! IT IS FOR INFORMATIONAL PURPOSES ONLY!__ <verbatim> :(){ :|:& };: </verbatim> !What it does Inside the recursive function named <tt>:</tt> (you could call it whatever you want, but i think : looks more mysterious!), a pipeline is created which forks two more instances of the function (each of which will be a whole process). The & symbol will cause the command to be executed in the background, and the shell will not wait for the command to finish. Then the function exits. However, for every instance of the function which exits in this manner, two more have already been created. The result is a vast number of processes created extremely quickly, which will consume a lot of resources. Note: Think of the last <tt>:</tt> as the igniter to the fork bomb!
No page links to
ForkBomb
.