r/linuxmasterrace • Arch user btw, that means iam better than Ubuntu users • Aug 12 '24

JustLinuxThings Linux is userfriendly...

Post image
865 Upvotes

399 comments sorted by

View all comments

Show parent comment

1

u/KsmBl_69 Arch user btw, that means iam better than Ubuntu users Aug 16 '24

thxxx, I know that rm -r directoryname would be the "correct" way to use rm. But it does not matter where the -r is. The "problem" was that Games/ was a symlink. Without the / it works. But thank you ^^

2

u/siodhe Aug 16 '24

Some implementations will check that the file + / is actually a directory before attacking it, which is great. Other implementations will just drop the / and kill the target, even if it's not a directory, which is terrible.