Use Terminal to Block Websites on Mac

Mac OS X has Hosts file just like Windows. We can edit Hosts via Terminal on a Mac to block specific websites that are not allowed to visit. To edit the hosts file and add a new blocking entry, open up your Terminal and type the following command line (You’ll be asked for your root […] Tags: , , , , ,