Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

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

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

add comment

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.

share|improve this answer
add comment

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

unlink php5
share|improve this answer
add comment

Delete the symbolic link like this:

rm -i php5
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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