I can't seem to edit the hosts file (/etc/hosts). I've tried:
127.0.0.1 www.google.com
127.0.0.1 www.google.com
127.0.0.1 google.com
And I've run the terminal command: dscacheutil -flushcache
And I've tried using Gas Mask app: www.macupdate.com/app/mac/29949/gas-mask
My understanding is that pairing a URL with 127.0.0.1 tells the system to look for the URL at the paired IP address.
Mac OS X Lion 10.7.1
Question about
How to edit the Mac OS X hosts file?
You have to edit your permissions for writing, editing, and reading files. you can do it by right clicking and clicking => get info
mark as good answer
0 people like this answer
follow this question
share:
Related questions
2 users following this question:
This question has been viewed 1207 times.
Last activity .
Tips for giving the best answers
Sometimes it's just little details that separates a great and not so great answer! Here are a few simple tips to keep in mind:
- 1
- Be complete and thorough. Don't skimp on the details!
- 2
- Try not to answer with a question. Because that's not really an answer, right?
- 3
- A little research goes a long way. Back up your claims and assumptions!
- 4
- Try to be patient, tech questions can be complicated.
- 5
- You are awesome for both reading this and answering questions.
