Resetting Host File

Hello,

I was wondering if anyone knows how to reset the host file from the etc folder?

I was playing around with some software. Now, there is nothing wrong with my mac, I just want to reset the file if possible.


Thanks,

AP

MacBook

Posted on Apr 19, 2011 7:40 PM

Reply
3 replies

Apr 19, 2011 7:52 PM in response to akirapilot

Select Go to Folder from the Finder's Go menu. Enter /etc in the popup field. Look for the "hosts" file. In order to edit the file you must be "root" and be using a graphic editor that can start with admin privileges. If not then you have to edit it using the Terminal application in the Utilities folder.


Open the Terminal and at the prompt enter:


sudo pico /etc/hosts

Enter your admin password when prompted. It won't be echoed.


Edit the file and use the onscreen info on how to exit and save the edited file.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Resetting Host File

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.