Drush Hosts

Categories

Component ID

1732818

Component name

Drush Hosts

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

3610

Component created

Component changed

Component body

This Drush extension provides simple commands for managing entries in /etc/hosts. From the project's help text:

$ drush hosts --help
Manage entries in /etc/hosts. (Requires sudo password)

Options:
 --fqdn                          A comma-delimited list of domain names. [...]
 --ip                            The IP address of the server or site.
 --purge                         Remove all entries in /etc/hosts [...]
 --remove                        Remove an IP address or domain(s).


Aliases: hs