hostsmod
v1.5.6
Published
Hosts file manager for Win/OSX/Linux.
Readme
Hostsmod
Tool to manage hosts file with commands.
Install
npm install -g hostsmodImportant
OSX/Linux
Must use sudo for write operations.
Windows
Must execute the shell as administrator.
Usage
Generate
Generate hosts file.
hostsmod generateList
Prints the content of the hosts file.
hostsmod listAdd / Create
Add the host to the hosts file.
hostsmod add <host> <domain>Delete / Remove
Remove by host and/or domain the host of the hosts file.
hostsmod delete <host> and/or <domain>Help
hostsmod --help