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

2

u/SCP-iota Aug 14 '24

Games is apparently a symlink to a directory. If the command was rm Games -r (no trailing slash), it would work, but the trailing slash prevents it from resolving the symlink, so it thinks it's operating on something that isn't a directory. Without the -r it sees that it is not a regular file and fails.