All Linux HowTo's

The Safe way to remove a SymLink

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 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.