GitHub - goldfix/pigHosts: Small project to import Blocklist Collection in your Hosts file.

1 min read Original article ↗

pigHost

Usage:
 pigHost (load | unload | force_init) [--debug] | (--version) | (--check-update)
 pigHost (--help | -h)

Options:
 -h, --help       help online
 -v, --version    view version
 --check-update   check if there is a new version
 --debug          view debug info

Command:
 load           load custom hosts from external urls declared in the file: '<USER_FOLDER>/.pigHosts/pigHosts.urls'
 unload         disable and remove custom hosts
 force_init     delete and create a new set of configuration files: '<USER_FOLDER>/.pigHosts/pigHosts.excluded' and '<USER_FOLDER>/.pigHosts/pigHosts.urls'

Some antivirus locks .../etc/hosts file. Remember to configure the antivirus correctly so not to block this file.