Search This Blog

Monday, March 19, 2018

How to edit hosts file - MAC


To change the hosts file follow the given steps:

1. Open Terminal 

2. Go to etc dir. cd /etc/
3. Type command : sudo nano hosts and then enter password. 
4. Edit file to your requirement.
5. control + O to save and return
6. control and X to exit and return
7. Type command : sudo killall -HUP mDNSResponder

Cheers, 
Kapil 

No comments:

Post a Comment

Thanks for your comment, will revert as soon as we read it.

Popular Posts