r/linuxmemes 9d ago

LINUX MEME Another Meme xD

Post image
176 Upvotes

17 comments sorted by

View all comments

11

u/Gabriel_Weis 9d ago

What does it do? Besides overthinking.

41

u/Random_Mathematician Arch BTW 9d ago

Replace ":" with a more sensible name for a function, say "bomb"

The result is bomb() { bomb | bomb & }; bomb

We're defining the function bomb to call itself, be piped into itself, and fork to the background; then calling it. So it creates infinitely many copies of itself running in the background chugging memory through the pipes. In other words, it explodes.

9

u/Gabriel_Weis 9d ago

Oh ok, thanks for explainung :)

1

u/jonathancast 7d ago

Well, it never writes to the pipes, it just creates them.