How to unlink or remove a symbolic link in linux that was created with “ln” command
Use the unlink command
To unlink a symbolic link file :
# unlink symbolic_link_file
To unlink a symbolic link to a directory :
# unlink symbolic_link_dir
When unlinking a directory make sure that you do not include the trailing forward slash:
Wrong:
# unlink /home/username/public_html/
Correct:
# unlink /home/username/public_html