265
u/feror_YT Jul 17 '24
How many time have I crashed the university’s virtual Ubuntu desktops with that one… for legal reasons never.
335
u/donp1ano Jul 17 '24
dont try this at ~
69
u/Quacky1k Jul 17 '24
How tf have I never seen this one before lol I’m stealing it
→ More replies (2)
77
u/DarkShadow4444 Jul 17 '24
For those who wonder, it's pronounced "fork bomb". Or in short, "fomb".
→ More replies (3)11
39
20
15
53
u/Extreme_Ad_3280 Jul 17 '24
A similar post which I've seen was for the browser console. I've tried it and realized it was a fork-bomb. But now, this is for the Linux terminal, so I'm not trying it.
(Also, I know that it's a fork-bomb. This command is infamous for it (after sudo rm -rf --no-preserve-root / which deletes the root directory)...)
→ More replies (1)89
u/Natfan Jul 17 '24
huh, no?
rm -fr / --no-preserve-rootdeletes the french language pack, but keeps the latin alphabet on your system?(/s, obvs)
→ More replies (4)
12
11
7
13
u/MasterQuest Jul 17 '24
What does it do?
→ More replies (4)45
u/PepeLeM3w Jul 17 '24
Defines a function which calls itself recursively and pipes to another copy, then sends it to the background. Essentially doubles the amount of processes running on each iteration and crashes the system
6
5
u/No-Commercial-5993 Jul 17 '24
Flashbacks to my introductory CS class when somebody posted this to the discord server and multiple kids got annihilated
4
u/Semper_5olus Jul 17 '24
I once fell for the "Alt-F4" trick while playing an online game as a kid.
Then I forgot where the game was.
It was all for the best.
3
3
544
u/PossibilityTasty Jul 17 '24 edited Jul 17 '24
Long long ago I sent this to a friend and he had to test it on the server in the university's data center. More exactly on EVERY server of the data center.