How to remove symbolic link

Solution 1:

You can use rm to delete the symlink.

Example:

-rw-rw-r-- 1 2014-01-02 09:21 tmo
lrwxrwxrwx 1 2014-01-02 09:21 tmo2 -> tmo

Then ...

 rm tmo2

will remove the symlink.

Solution 2:

You can try the unlink command as well.

unlink is a similar command to rm. Therefore rm <symlink> will work same as unlink <symlink>

Here is the man page.