I set up a soft link on my MAMP system like this

ln -s php5.3 php5

but I think it might have been the cause of system problems that just appeared

does anyone know how to undo it?

link|improve this question
feedback

migrated from stackoverflow.com Jun 2 '11 at 7:29

This question came from our site for professional and enthusiast programmers.

3 Answers

rm php5

The symbolic link is a file and can be removed by rm like regular files. This won't affect the target.

link|improve this answer
feedback

Use unlink instead of rm, it's much safer.

unlink php5
link|improve this answer
feedback

Delete the symbolic link like this:

rm -i php5
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.