hostess
Hostess is a highly flexible command line tool for managing your /etc/hosts file. It allows you to easily add, remove, and switch between entries in the hosts file directly from the command line.
Hostess supports multiple operating systems including Linux, macOS, and Windows, making it cross-platform and accessible to a wide range of users.
With Hostess, you can add or remove entries with simple commands, as well as modify existing entries by specifying an IP address and hostname.
The tool also enables you to switch between different hosts file configurations seamlessly, making it easier to switch between different environments or configurations.
You can check the current status of the hosts file, view all the entries, and even search for specific entries using filtering options provided by Hostess.
Hostess allows you to create and manage custom groups of entries, making it easier to organize and group related hosts.
The tool provides a backup and restore function to ensure you have a copy of your original hosts file and can restore it if needed.
Hostess is lightweight, fast, and efficient, ensuring that it does not slow down your system or degrade performance.
It provides a user-friendly and intuitive interface, allowing both experienced users and beginners to easily manage their hosts file.
Overall, Hostess is a powerful and convenient command line tool for managing your hosts file, offering flexibility, convenience, and ease of use.
List of commands for hostess:
-
hostess:tldr:1cbb3 hostess: Remove a domain from your hosts file.$ hostess del ${local-example-com}try on your machineexplain this command
-
hostess:tldr:2b435 hostess: List domains, target IP addresses and on/off status.$ hostess listtry on your machineexplain this command
-
hostess:tldr:aee5f hostess: Disable a domain (but don't remove it).$ hostess off ${local-example-com}try on your machineexplain this command
-
hostess:tldr:d2980 hostess: Add a domain pointing to your machine to your hosts file.$ hostess add ${local-example-com} ${127-0-0-1}try on your machineexplain this command