Last active
April 16, 2017 05:53
-
-
Save Bhavdip/0da08da8454918eb44263d2f48d41a89 to your computer and use it in GitHub Desktop.
[How to edit the Host file in Mac using terminal]#tags:MacOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Open the Terminal window | |
| 2. Type the command 'sudo nano open /private/etc/hosts' | |
| 3. Press the enter | |
| 4. It will prompt the sudo password | |
| 5. Enter the password | |
| 6. Its open the vim editer where you can modifiy and enter the new entry using control+ command. | |
| 7. The command will display at end of console. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment