2012-07-18 36 views

回答

4

这是一个fork bomb,它是很坏。

它会产生很多很多进程,随着每个进程产生两个进程,数量会呈指数级增长。他们会堵塞你的系统,直到它摔倒。

+0

是的,它和'forkbomb(){forkbomb | forkbomb & } ; forkbomb'异常一样,该函数被称为':'而不是'forkbomb'。 – 2012-07-18 03:17:30

2

不要运行它。它的叉子炸弹。它会降低你的系统。

维基百科:

/- Define the function ':' without any parameters '()' as follows: 
| /- Beginning of function-block. 
| | /- Load a copy of the function ':' into memory ... 
| | |/- ... and pipe its output to ... 
| | ||/- ... another copy of the ':'-function, which has to be loaded into memory. 
| | ||| (In other words, ':|:' loads two more copies of ':', thus causing a chain-reaction) 
| | |||/- Disown the functions (make them a background process), so that the children of a parent 
| | |||| will not be killed when the parent gets auto-killed. 
| | |||| /- End of function-block. 
| | |||| |/- End of definition. 
/-\| |||| ||/- Execute the function ':'. The chain-reaction begins. 
:(){ :|:& };: 

这里是链接http://en.wikipedia.org/wiki/Fork_bomb