I made a symlink to a directory like this:
ln -s /some/directory symlink
Now I'd like to remove the symlink:
This doesn't work. The error message is:
rm: cannot remove 'symlink/': Is a directory
What am I doing wrong? Why does
rm claim my symlink is a directory? How to remove the symlink properly?