Understanding Bash fork() Bomb :(){ :|:& };: code - nixCraft

Explains Linux / Unix bash fork() bomb :(){ :|:& };: which is a form of DoS attack against a Linux based computer and how to prevent fork bomb on Linux.

@nixCraft Is that some insider gag like e^(i ¶) + 1 = 0?

@herdsoft

It's called a fork bomb. Run it from a shell and watch your system grind itself into the ground.

@nixCraft

@mackaj @nixCraft I understand what it does if you are so silly so as to type it into a bash prompt. As I understand e^(i ¶) + 1 = 0. I just don't seem understand why this is funny.

A younger work colleague told me he was tricked into entering "format c:" into his fathers DOS PC as a juvenile. I believe that sounds funnier than it was.

My first recognition of the idea of a fork bomb was an OCL36 script with two EVOKE calls to itself on a system /36 in 1987.

@herdsoft @mackaj @nixCraft i assume some poorly designed network menus will put the name into a network configuration command in an sql injection-like way that triggers it.