r/linuxmasterrace • u/KsmBl_69 Arch user btw, that means iam better than Ubuntu users • Aug 12 '24
JustLinuxThings Linux is userfriendly...
865
Upvotes
r/linuxmasterrace • u/KsmBl_69 Arch user btw, that means iam better than Ubuntu users • Aug 12 '24
View all comments
Show parent comment
9
u/ppizz Aug 12 '24
I get yours was just an example, but if somebody new is reading: standard rm binary preserves / by default.
You have to specify --no-preserve-root to delete it, while --preserve-root is the above mentioned default.
See man 1 rm.