To modify the contents of the Hosts file:
Enter etc folder, find the Hosts file, the file copied out, modify the contents of the inside, first of the hosts in etc to delete the file, and then in the revised file offline to
You may need the administrator's password, you can enter your login password OK.
There are two ways to display hidden files under a Mac: command-line mode and software approach.
Command line: Show/Hide the Mac hidden files command as follows (note the spaces and case sensitivity):
To display the Mac hidden files command:
Defaults write Com.apple.finder Appleshowallfiles-bool true
To hide a mac hidden file command:
Defaults write Com.apple.finder Appleshowallfiles-bool false
Or
To display the Mac hidden files command:
Defaults write Com.apple.finder appleshowallfiles YES
To hide a mac hidden file command:
Defaults write Com.apple.finder appleshowallfiles NO