371
you are viewing a single comment's thread
view the rest of the comments
[-] Scoopta@programming.dev 22 points 3 weeks ago* (last edited 3 weeks ago)

It's funny because you can tell whoever wrote this has never run that command. You need to either put --no-preserve-root OR /*. Using /* obviates the need for the flag --no-preserve-root.

[-] theunknownmuncher@lemmy.world 20 points 3 weeks ago

you can tell whoever wrote this has never run that command

Uh... isn't that a good thing?

[-] Scoopta@programming.dev 2 points 3 weeks ago

I suppose, I figured most sysadmins had run it for funsies at least once...or a few times LOL.

[-] xmunk@sh.itjust.works 2 points 3 weeks ago

It's as good as bind kill mouse1 being a protected command in valve consoles... aka not at all.

[-] genfood@feddit.org 10 points 3 weeks ago

GPT fixes that internally 🤡

[-] CosmicTurtle0@lemmy.dbzer0.com 10 points 3 weeks ago

I compile my own version of rm so that it doesn't require the parameter.

Just in case I need to.

[-] zagaberoo@beehaw.org 2 points 3 weeks ago

It's redundant but it still works; doing it that way does not imply they haven't actually used it.

this post was submitted on 13 Jan 2025
371 points (95.1% liked)

Programmer Humor

20033 readers
459 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS