How to Remove a Symlink Using Command Line in macOS?

less than a minute of reading

Removing a symlink in terminal (both applicable to macOS and Linux) is exactly the same process as removing a regular file.

Open terminal app of you choice and locate the symlink. Use rm command to remove it.

For example:

rm /usr/local/bin/phing

You are done.


Words: 47
Published in: macOS
Last Revision: December 16, 2022

Related Articles   📚