Sorry for asking such a general question but this has been bugging me for days.
A friend gave me this piece of code (?) and wont tell me what it does, or even if it is C or bash or anything else.
From the look of it, it looks like C to me. Although I dont get why there are : on the sides.
:(){:|:&};:
Any clues will be appreciated.
This is bash shell script, not C.
It’s a fork bomb.
Wikipedia explains it: