Linux Lite Forums

Full Version: [SOLVED] How do you delete a Symlink correctly?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to delete a symlink between a directory in  /home on sda (where LL's OS is located) and sdb (where data files are located).
Just want to be sure I'm doing this properly and no links are left 'hanging'...

Many thanks in advance for any help
Regards
Mike

What was the original symlink command you used to make it?

http://www.cyberciti.biz/faq/linux-remov...k-command/
Thanks Jerry.
To create the symlink between /mnt/DATA on sdb and /home on sda, I used the following command, where mike is my username:

Code:
ln -s /mnt/DATA/Documents /home/mike
                               



You can just open file manager, right-click the symlink and delete it.  That just removes the symlink in /home/mike.  Your Documents in /mnt will still be there when you navigate to /mnt/Documents.
Quote:You can just open file manager, right-click the symlink and delete it.  That just removes the symlink in /home/mike.  Your Documents in /mnt will still be there when you navigate to /mnt/Documents.

Many thanks for your reply goldfinger - that's really helpful.
Cheers
Mike