hostfiles

simple script to manage multiple sets of hostfiles

Install

All systems
curl cmd.cat/hostfiles.sh
Debian Debian
apt-get install hostfiles
Ubuntu
apt-get install hostfiles
image/svg+xml Kali Linux
apt-get install hostfiles
Windows (WSL2)
sudo apt-get update sudo apt-get install hostfiles

hostfiles

simple script to manage multiple sets of hostfiles

hostfiles is a command-line tool which will read the hostfile fragments specified to be enabled from /etc/hostfiles/<fragment_name> and add them to /etc/hosts. It will remove any fragments from /etc/hosts that are specified to be disabled.