I have the symlink to an important directory. I somehow want to get rid of this symlink, while keeping the directory behind it.
I tried the command rm and get back
rm: cannot remove 'foo'.
I also tried the rmdir and got back
rmdir: failed to remove 'foo':
Directory not empty
I then progressed through
rm -f, rm -rf, and sudo rm -rf
Then I went to find my back-ups.
Help me to get rid of this symlink.