OSX: How to edit/flush the hosts on Mac

August 14th, 2011 by jeremychone

Edit the hosts file

sudo vi /etc/hosts

Flush dns

dscacheutil -flushcache 

Source

Leave a Reply