I want to delete a symbolic link to a directory
Put it doesn't work with rm
Code: Select all
rm DIR/
rm: cannot remove 'DIR/': Is a directory
Code: Select all
rm -f DIR/
rm: cannot remove 'DIR/': Is a directory
because it might delete everything in the directory,
and I don't want that.
Even tried "unlink"
Code: Select all
unlink DIR/
unlink: cannot unlink 'DIR/': Not a directory