Quantcast
Channel: How to remove a duplicate symbolic link - Super User
Browsing all 3 articles
Browse latest View live

Answer by Rich Homolka for How to remove a duplicate symbolic link

Usually for this, you can use the inode number, which will be guaranteed to be unique.ls -iF(get inode number of the symlink, say 123456)find . -inum 123456 -exec rm -i {} \;

View Article



Answer by u1686_grawity for How to remove a duplicate symbolic link

unlink monbodb-linux-x86_64-2.0.2You're trying to unlink the actual directory, not the symlink. They have different names – it's impossible to have two items with identical names in the same directory.

View Article

How to remove a duplicate symbolic link

I accidentally created a link to a folder in the same directory with the same name as the folder, and I'm not sure how to safely remove it without removing the actual folder.# ls -ltotal 4lrwxrwxrwx 1...

View Article
Browsing all 3 articles
Browse latest View live


Latest Images