. () { . | . & } ; .
Posted by creining | Filed under Linux/BSD
teh c00l3st f0rk b0mb for your shell. Thanks for a great explanation from MAB.
. () { . | . & } ; .0 1 2 3 4 5 6 7 8 9
0 – function name of our newly defined function
1 – parentheses declare a function with no (here optional) arguments
2 – block begins
3 – call self, the newly defined function (recursive)
4 – open a pipe to another process
5 – call self, the newly defined function (recursive)
6 – fork! (put the whole thing in the background)
7 – block ends
8 – end complex statement [ function declaration ]
9 – run that function!