hostess

An idempotent command-line utility for managing the `/etc/hosts` file.
More information.
hostess list
hostess add {local.example.com} {127.0.0.1}
hostess del {local.example.com}
hostess off {local.example.com}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY