Tag Archives: Terminal

How to Edit Hosts File in Mac OS X using the Terminal

Your mac has a hosts file which contains a list of IP and domain addresses. Whenever a URL is accessed on the Mac using the browser or other apps, the system first checks for entries in the hosts file and fetches the IP address if found. So one can edit Mac’s hosts file to block specific domains like those sending ads or malware. It can be used to block unsafe sites on a Mac or even help downgrade iPhones to older firmware.

Continue reading How to Edit Hosts File in Mac OS X using the Terminal