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

196

16238 readers
1874 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] 4 points 11 months 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