Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to cleanly remove MAMP Pro from my Mac and I'm following the steps outlined in the SO article http://stackoverflow.com/questions/11855247/mamp-pro-restore-root-user-uninstall.

I have been able to perform everything except one piece -- I can't remove the hosts.mamp.bak file because I get a Permission denied error.

I'm trying to remove it from the Terminal app.

Do I need to login to the Terminal app some special way?

Thanks all!

share|improve this question

1 Answer 1

up vote 2 down vote accepted

try:

sudo rm /etc/hosts.mamp.bak

and then type your password when prompted.

For more on sudo, see here.

share|improve this answer
    
Okay, so sudo causes it to ask for elevated permissions? –  Michael Perrenoud Dec 2 '12 at 1:25
    
Yes. Sudo causes the given command to run with root privileges. –  peelman Dec 2 '12 at 1:28
    
You are awesome, thanks! –  Michael Perrenoud Dec 2 '12 at 1:28
    
we all started somewhere. Good luck. And pay special attention when using Sudo. As the old prompt says, with great power comes great responsibility. You can truly #&$% up your system in a hurry, so always double check commands, and always maintain backups. –  peelman Dec 2 '12 at 1:30

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.