this post was submitted on 24 Oct 2023
454 points (99.1% liked)

196

16574 readers
1763 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
[–] [email protected] 6 points 1 year ago (3 children)

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

[–] can 6 points 1 year ago
[–] ReveredOxygen 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

[–] [email protected] 2 points 1 year ago

virtual machines