All Linux HowTo's

The Safe way to remove a SymLink

Share This:

There are two ways you can remove a symlink in Linux:

rm ~/mySymLink

Or the safe way:

unlink ~/mySymLink

Tip: Don’t add a trailing “/” to the end of the directory/link name.

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *