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

196

16488 readers
3156 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

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

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

[–] NateSwift@lemmy.world 6 points 1 year ago (3 children)

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

[–] ReveredOxygen@sh.itjust.works 4 points 1 year 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 1 year ago

virtual machines