this post was submitted on 24 Oct 2023
443 points (100.0% liked)

196

18129 readers
817 users here now

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

Posting rules:

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn't adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196's:

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] itslilith@lemmy.blahaj.zone 10 points 2 years ago (1 children)

no need, since /* doesn't start at root, it'll not trip the safety

[–] NateSwift@lemmy.world 6 points 2 years ago (3 children)

I think you’re wrong but I’m not willing to test it to see

[–] ReveredOxygen@sh.itjust.works 4 points 2 years ago

the shell expands it to rm -fr /bin /etc /usr /home /dev and so on. rm never sees the /, so the safety doesn't trigger

[–] moosetwin@lemmy.dbzer0.com 2 points 2 years ago

virtual machines