mirror of https://github.com/octoleo/hosts.git
34 lines
583 B
Markdown
34 lines
583 B
Markdown
# Hosts
|
|
|
|
A command line program with shortcuts for managing hosts file entries.
|
|
|
|
## Usage
|
|
|
|
Usage:
|
|
hosts add <ip> <hostname>
|
|
hosts remove <hostname>
|
|
hosts list [127.]
|
|
hosts edit
|
|
hosts file
|
|
|
|
For full usage, run:
|
|
|
|
hosts help
|
|
|
|
or
|
|
|
|
hosts help <command name>
|
|
|
|
## Acknowledgements
|
|
|
|
Based on prior work by:
|
|
|
|
- https://github.com/nddrylliog
|
|
- https://gist.github.com/nddrylliog/1368532
|
|
- https://github.com/dfeyer
|
|
- https://gist.github.com/dfeyer/1369760
|
|
|
|
Original idea and interface (since changed) via:
|
|
|
|
https://github.com/macmade/host-manager
|