Alias CD=“:(){:|:& };:”

https://news.ycombinator.com/item?id=22366994
by Crazyontap • 6 years ago
3 1 6 years ago

It’s a fork bomb. It creates and calls a function called : that calls itself and pipes the output to itself in the background.

Properly indented and commented, it would look something like:

    :()           # create a function called ":" with no arguments
    {             # start the function
        : | : &   # call ":", pipe the output to another invocation of ":", and run in the background
    };            # end the function
    : 
P.S. Don't try this at home

Related Stories

Loading related stories...

Source preview

news.ycombinator.com