Welcome to Ask Ozar.net !
Welcome to Ask Ozar.net, where you can ask questions and receive answers from other members of the community.
0 votes
where is the hosts file on mac os x mavericks?I need to find and edit the hosts file on mac?
in Mac OS X by (260 points)

1 Answer

0 votes

From the Go menu in Finder, select Go To Folder... (or just press Command + Shift + G) , type in /private/etc and then hit Return. The hosts file is there.

 

If you're gonna work in the Terminal, just tpye cd /private/etc to reach the directory or if you're gonna edit it with a command line-based text editing tool like pico, nano or vi you can simply type:

 

$ sudo pico /private/etc/hosts

 

or

 

$ sudo vi /private/etc/hosts

 

or

 

$ sudo nano /private/etc/hosts

by (1.0k points)
edited by

Related questions

+2 votes
2 answers
+1 vote
1 answer
+2 votes
2 answers
579 views asked Dec 28, 2013 in Mac OS X by kalderya (260 points)
0 votes
1 answer
...