Fixing hosts file on Mac will help to intervene in the system, help block websites or block browser ads.
Aug 01, 2017.
File hosts on the system help users to intervene deeply into the computer, support users to change the system such as blocking ads from certain websites or software such as blocking ads on Viber, or blocking websites. browser, even support access to blocked websites, .
![]()
![]()
File hosts on all operating systems allow users to change, edit, add commands to meet the purpose we want to perform. https://nyrenew242.weebly.com/blog/mount-and-blade-download-mac. To edit the hosts file on Mac, users also need to follow each step in the order as when editing the hosts file on Windows 10 or changing the hosts file on Linux. The following article will guide readers to change the hosts file on a Mac.
Instructions to edit the hosts file for Mac
Method 1: Edit the hosts file on Mac via etc
Step 1:
First we press the key combination Command + Shift + G to display the directory access dialog. Next we enter / etc into the search field and click Go to continue.
Step 2:
Show etc folder with many files inside. Users browse to fie hosts and then double click to open and edit and save.
In case the hosts file does not save, we overwrite the content, the user moved that hosts file to the desktop or another directory to edit. Then copy to the etc directory to overwrite the existing hosts file.
Hosts File Download
Method 2: Edit the hosts file on the Mac via Terminal
For Mac OS, we have more ways to fix hosts file via Terminal.
Step 1:
Users access to Utilities folder and then click on Terminal in the list to launch. Or we press the keyboard shortcut Commnd + Space and then type the keyword Terminal to open up.
Step 2:
In the interface shown, enter the command sudo nano / private / etc / hosts and then type the password of the Mac into the Password line below. Click Return to open the hosts file.
Mac Os Host File Location
Step 3:
Display the hosts file interface for users to edit. We use the left and right up and down arrows to move the cursor to where the content of the hosts file needs to be edited.
Step 3:
Once finished editing, we press Ctrl + X and then press Y to agree to save new content to the hosts file. Finally press Return https://nyrenew242.weebly.com/blog/download-aws-cli-for-mac. to agree or press N to not save the content.
So we have 2 different ways to edit the hosts file, change the content of the hosts file on the Mac. If you edit the hosts file via etc, it is best to copy the file to another location for editing and then copy the etc folder again to overwrite the existing file.
Hosts File Mac Os Adobe
I wish you successful implementation!
Hosts File Mac Os X
READ NEXT»
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |