4 ms·
This goes in the same bucket of fun that contains :(){ :|:& };: Don't run that on a shell unless you enjoy having to physically reboot servers.
by madaxe 13y ago
This goes in the same bucket of fun that contains
:(){ :|:& };:
Don't run that on a shell unless you enjoy having to physically reboot servers.
- fnayr 13y agoWhat does it do? Definitely not going to try it.
- swirepe 13y agoIt makes a function called :, which calls itself. More or less.
- madaxe 13y agoPipes itself into a new instance of itself every time, thus spawning processes geometrically. Hence, Fork Bomb.
- unoti 13y agoIt makes a function called : which spawns processes, and each of those processes spawns more processes calling itself.
- jellicle 13y agoFor the curious: https://en.wikipedia.org/wiki/Fork_bomb https://en.wikipedia.org/wiki/Fork_bomb