this post was submitted on 24 Oct 2023
454 points (99.1% liked)
196
16542 readers
2009 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
no need, since /* doesn't start at root, it'll not trip the safety
I think you’re wrong but I’m not willing to test it to see
Pussy
the shell expands it to
rm -fr /bin /etc /usr /home /dev
and so on. rm never sees the /, so the safety doesn't triggervirtual machines