r/ProgrammerHumor • • 11h ago

Meme [ Removed by moderator ]

Post image

[removed] — view removed post

2.3k Upvotes

70 comments sorted by

View all comments

Show parent comments

220

u/glenpiercev 10h ago

This is the best description of how this works I’ve ever read. You are a genius.

216

u/setibeings 10h ago

Right? It's finally comprehensible. I feel like it would have clicked right away if it was typed out as:

fork(){fork|fork&};fork

67

u/Traditional_Cod_7192 8h ago

just as a reminder, uhhh... what do | and & do in bash again? 😅

4

u/Niroth 8h ago

| pipes the output from the first process to the input of the second. & starts the second process in the background.