Email or username:

Password:

Forgot your password?
18 comments
Catcrimes

@koko It's a good example, because it's so many lessons in one little command!

Function definitions, pipes, background tasks, and *not running just anything people on the internet tell you to*.

Dorky moo girl

@koko Oh, that code looks great, I test it out right away!

Probably best to run it on my instance server!

Lexi

@koko And when you're done with that, give good ol' `sudo rm -rf /` a go. It's a REAAL good time.

(Don't actually do this. Holy shit, please don't. There's no going back. You will actually ruin your box. You've been warned.)

ika

@AlexiWolf @koko don't forget the --no-preserve-root argument

Piko Starsider :verified_paw:

@AlexiWolf That one doesn't work in modern distros, fortunately.

Lexi

@starsider Seriously? Huh, I mean, IG that's a good thing.

You know I'm going to try it now, right?

Lexi

@starsider Sheesh, you're brave. I wouldn't have done that on anything that isn't a VM, fail-safe or no.

Then again, I've had my fair share of mishaps with `rm` so I'm a little paranoid. Doesn't help my daily-driver distros will not stop you either.

Still good to know though!

Piko Starsider :verified_paw:

@AlexiWolf I think I first tried with a VM in a much older distro than this one so I was confident this had it too. Also I did as a user so it would have probably taken at least a few seconds to go through the files that it can't delete.

PointlessSpike

@koko "Ah yes, let me run this command someone on the internet gave me" says the idiot who should be disallowed from ever using a computer

Piko Starsider :verified_paw:

@koko I ran that fork bomb one time 15-20 years ago because someone had it as signature. No instructions, just something that looked like shell code so I was curious and tried it. It froze the whole system almost instantly.

Lesson learned.

david :tux:

@koko im scared but im gonna do it
edit: it made my terminal show a cat, try it :3

Go Up