Editing the Hosts File in Mac OS X
- Launch Terminal, found in /Applications/Utilities/ or launched through Spotlight,
- Type the following command at the prompt:
sudo nano /private/etc/hosts
- Enter the administrator password when requested,
- Once the hosts file is loaded within nano, use the arrow keys to navigate to the bottom of the hosts file to make your modifications,
- When finished, hit Control+O followed by ENTER/RETURN to save changes to /private/etc/hosts, then hit Control+X to exit out of nano,
- Quit out of Terminal when finished.
No comments:
Post a Comment