mirror of
https://github.com/octoleo/hosts.git
synced 2025-01-01 05:31:49 +00:00
10704e2bd7
This is more verbose, but consistent with bash-boilerplate's approach. |
||
---|---|---|
hosts | ||
Readme.md |
Hosts
A command line program with shortcuts for managing hosts file entries.
Usage
Usage:
hosts add <ip> <hostname>
hosts remove <hostname>
hosts list [enabled | disabled | <search string>]
hosts show ( <ip> | <hostname> | <search string> )
hosts disable ( <ip> | <hostname> | <search term> )
hosts enable ( <ip> | <hostname> | <search term> )
hosts edit
hosts file
For full usage, run:
hosts help
or
hosts help <command name>
Acknowledgements
Based on prior work by:
Original idea and interface (since changed) via: