HOSTSED - Simple CLI tool for hosts file edition
Contents
Commands
addIPADDRESSHOSTNAME1[HOSTNAME2...]
add entry to hosts file
rm,del,delete,removeIPADDRESSHOSTNAME
remove entry from hosts file
dropIPADDRESS_OR_HOSTNAME
Drop lines with specified ip or hostname from hosts file
dockerCONTAINERNAME
show docker cointainer IP address of the given name
Comment
This manual page was written by Josue Ortega <josue@debian.org> for the Debian
Operative System and can be used by others.
Version 0.3.0 July 04, 2019 HOSTSED(1)
Description
This manual page documents the hostsed CLI tool. Running hostsed without arguments
will return the content of /etc/hosts file to STDOUT.
License
The MIT License (MIT)
Name
HOSTSED - Simple CLI tool for hosts file edition
Options
-h show help message and exit
-fFILE
location of hosts file, default /etc/hostsReporting Bugs
Report bugs to https://github.com/socrateslee/hostsed/issuesSynopsis
hostsed [OPTION]... [ENTRY]...
