host-manager
host-manager copied to clipboard
A command-line utility to manage the /etc/hosts file.
HostManager
About
A command-line utility to manage the /etc/hosts file.
Documentation
Usage:
host-manager COMMAND [ARGUMENTS]
Available commands:
-h / --help Print the help dialog.
-v / --version Print the version number.
-a / --add Add an entry to the /etc/hosts file.
-r / --remove Remove an entry from the /etc/hosts file.
Adding an entry to the /etc/hosts file:
host-manager -add host address
Removing an entry from the /etc/hosts file:
host-manager -remove host
Examples:
host-manager -add www.example.org 127.0.0.1
host-manager -remove www.example.org
License
HostManager is released under the terms of the Boost Software License - Version 1.0.
Repository Infos
Owner: Jean-David Gadina - XS-Labs
Web: www.xs-labs.com
Blog: www.noxeos.com
Twitter: @macmade
GitHub: github.com/macmade
LinkedIn: ch.linkedin.com/in/macmade/
StackOverflow: stackoverflow.com/users/182676/macmade