my hosts file looks like this
it should open facebook if you try to open google
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
also after I added that first line I did:
dscacheutil -flushcache; sudo killall -HUP mDNSResponder
on a OSX 10.8.5 but it doesn't changes anything.
I searched for a while and found different things none helped me.
On this link: Hosts file in OSX Lion not blocking as expected there is a good answer but I don't know how to check which file format I have.
So the question is: - is there something wrong with my hosts file? - how do I check which file format I've got