Binary package “hostsed” in ubuntu jammy
Simple CLI tool for hosts file edition
Tool for editing hosts file(default /etc/hosts), you can add or delete a DNS
entry via command line shell.
Hotsed provides an idemponent command line experience with its
'add' and 'delete' commands avoiding duplicated or missing entries in the
hosts file.