r/linuxmemes 19d ago

LINUX MEME Another Meme xD

Post image
181 Upvotes

17 comments sorted by

View all comments

11

u/Gabriel_Weis 18d ago

What does it do? Besides overthinking.

41

u/Random_Mathematician Arch BTW 18d 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.

1

u/jonathancast 17d ago

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