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/phingYou are done.
 
                     
                     
                     
                    