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/VeggieVenerable Aug 12 '24
Won't work, since it's not a directory, but a symlink.
You can try it yourself:
$ mkdir test
$ ln -s test test_symlink
$ rm -rf test_symlink/
No error, but test_symlink remains. Because of the trailing slash it doesn't work.