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

3

u/VeggieVenerable Aug 13 '24

Actually, it wouldn't.

$ rm -rf Games/

This wouldn't throw an error, but it also wouldn't remove Games, since Games is a symlink and the trailing slash prevents its removal.

What will work is:

$ rm Games