MAC - How to edit the hosts file

1
Open Terminal
2
Change directory to 'etc'
cd /etc
3
Open 'hosts' in pico
sudo pico hosts
4
Edit …
5
Save 'hosts'
Control + O
6
Exit pico
Control + X

Pico is a text editor for the Mac and is included with the operating sytem.


Ads by Google


Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath