If you know what you want to do in the hosts file, and I suspect that just asking the question you may be in that category, form terminal you can do

sudo open /private/etc/hosts

which will open up you hosts file in textedit ready to be mangled or improved as you like. Note that /etc/hosts is actually an alias (link) to the /private/etc/hosts file, so modifying one updates the other.

CB

On 10/17/12 9:06 PM, Esther wrote:
Hi Max,

There is a /etc/hosts file on the Mac, which follows the standard unix
convention for its location.  It's a hidden file, which means that
your system won't show you this in Finder unless you actually know
where the location is, or else if you issue commands to turn hiding
off. You probably don't want to edit this directly, although it's
possible to do in Terminal.  You can add servers that you want to
connect to from Finder with the Command-K "Connect to Server"
shortcut.  I think there's also a free app named "hosts" at MacUpdate
that will set up a system preference pane for configuring your host
file in a clean way. If you describe what you want to do, maybe Tim or
another user can make suggestions.

HTH.  Cheers,

Esther

On Oct 17, 11:28 am, Agent086b <[email protected]> wrote:
Hello, is there a hosts file on the Mac? If so where is it?
Thanks for any help.
Max.

--
¯\_(ツ)_/¯

--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/macvisionaries?hl=en.

Reply via email to