https://github.com/macmade/host-manager
A command-line utility to manage the /etc/hosts file.
https://github.com/macmade/host-manager
Last synced: about 1 year ago
JSON representation
A command-line utility to manage the /etc/hosts file.
- Host: GitHub
- URL: https://github.com/macmade/host-manager
- Owner: macmade
- Created: 2011-11-15T19:11:44.000Z (over 14 years ago)
- Default Branch: main
- Last Pushed: 2021-08-02T22:56:34.000Z (almost 5 years ago)
- Last Synced: 2025-03-30T18:15:22.794Z (about 1 year ago)
- Language: Makefile
- Homepage:
- Size: 39.1 KB
- Stars: 26
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
HostManager
===========
[](https://travis-ci.org/macmade/host-manager)
[](https://github.com/macmade/host-manager/issues)


[](https://twitter.com/macmade)
[](https://patreon.com/macmade)
[](https://www.gratipay.com/macmade)
[](https://paypal.me/xslabs)
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