---
title: "FORK BOMB"
author: "ama2000"
date: "2012-06-28T14:22:24Z"
tags: []
categories: ["操作系统"]
slug: "fork-bomb"
draft: false
lastmod: "2012-06-28T14:22:24Z"
id: 1570011
url: "https://ama2000.iteye.com/blog/1570011"
---

http://blog.csdn.net/ninthing/article/details/5968949

 

:() { :|:& }; :           # &lt;-- 打开终端,输入这个,回车.你看到了什么?? 

 

改一下格式增强可读性

:()         
{          
: | : &            
};         
:      

 

 

 

很显然，这是一个递归， 但真正致命的地方是另外2处:

&lt;!--\[if !supportLists]--&gt;1.  &lt;!--\[endif]--&gt;管道

&lt;!--\[if !supportLists]--&gt;2.  &lt;!--\[endif]--&gt;后台执行