如果在UNIX中运行此命令,将执行什么操作?
我在某个地方看到了这个命令,如果在UNIX中运行此命令,将执行什么操作?,unix,command,forum,Unix,Command,Forum,我在某个地方看到了这个命令,:(){:::&}: 如果我在UNIX中运行它,它会做什么呢?我不想亲自尝试,以防它做了一些不好的事情这是一个非常糟糕的问题 它将产生许多进程,随着每个进程再产生两个进程,数量将以指数级增长。他们会阻塞你的系统,直到它倒下。这是一个非常糟糕的问题 它将产生许多进程,随着每个进程再产生两个进程,数量将以指数级增长。它们会阻塞您的系统,直到系统崩溃。不要运行它。它的叉子炸弹。它会使你的系统瘫痪 来自维基百科: /- Define the function ':' wit
:(){:::&}:代码>
如果我在UNIX中运行它,它会做什么呢?我不想亲自尝试,以防它做了一些不好的事情这是一个非常糟糕的问题
它将产生许多进程,随着每个进程再产生两个进程,数量将以指数级增长。他们会阻塞你的系统,直到它倒下。这是一个非常糟糕的问题
它将产生许多进程,随着每个进程再产生两个进程,数量将以指数级增长。它们会阻塞您的系统,直到系统崩溃。不要运行它。它的叉子炸弹。它会使你的系统瘫痪
来自维基百科:
/- 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.
:(){ :|:& };:
这是链接不要运行它。它的叉子炸弹。它会使你的系统瘫痪
来自维基百科:
/- 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.
:(){ :|:& };:
这是链接是的,它与forkbomb(){forkbomb | forkbomb&};forkbomb
异常该函数被调用:
而不是forkbomb
。是的,它与forkbomb(){forkbomb | forkbomb&}相同;forkbomb
异常该函数被调用:
而不是forkbomb
。