hostage is a command line utility to programmatically edit the host name database, which is typically the /etc/hosts plain text file in many UNIX and UNIX-like operating systems. hostage can list and validate a host name database file, add entries to the database, remove entries by address, and remove entries by host name.

WWW: https://github.com/emcrisostomo/hostage
