tldr/pages/common/hostess.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

489 B

hostess

An idempotent command-line utility for managing the /etc/hosts file. More information: https://github.com/cbednarski/hostess.

  • List domains, target ips and on/off status:

hostess list

  • Add a domain pointing to your machine to your hosts file:

hostess add {{local.example.com}} {{127.0.0.1}}

  • Remove a domain from your hosts file:

hostess del {{local.example.com}}

  • Disable a domain (but don't remove it completely):

hostess off {{local.example.com}}