Usage
Learn the basics of working.
Authorization
1.Grant write permission to the current user
At this time, you need to add write permission to the current macOS user, follow the prompts to copy the command line to the terminal (bash, iTerm), hit the Enter key to run, and enter the password.
There are three authorization methods available. If the first one doesn't work, try another one.
Change YourName to your boot username.
sudo chmod +a 'user:YourName:allow write' /private/etc/hosts
Or:
sudo chmod +w /private/etc/hosts
Or(not safe):
sudo chmod ugo+r /private/etc/hosts
2. Grant write permission to Helm
Select the opened Hosts file, click Authorize, and the software can obtain the hosts
write permission.
At this point, the two-step authorization operation has been completed. You can freely edit and combine the hosts file, and no further authorization is required from now on.
At this time, the 2 -step authorization operation has been completed and can be freely edited and combined with the hosts file, and there is no need to authorize anymore.
Skill
You can also quickly preview the modified hosts effect. Just press the shortcut key on the editing window: Command + Shift + O
, and you can see the modified hosts file.
Command+E
:Enable or disable the currently selected fileCommand + shift + O
: Open System Host FileCommand + D
: DuplicateCommand + /
: Toggle CommentCommand + +
: Make Text BiggerCommand + 0
: Make Text Normal SizeCommand + -
: Make Text Smaller