These are the exact words from the developer, Héctor Molinero Fernández, on his github site: https://github.com/hectorm/hblock
This tool will basically change your hosts file in /etc so that 100.000+ domains will be blocked.
We have build a package so the application can be easily installed and updated!
All you need to do is install the application and run it once. A timer and a service will make sure that you will get the latest blocked domains at a certain interval.
RUN ONCE AND FORGET ABOUT IT.
A backup will never hurt anyone.
sudo pacman -S hblock-git
sudo cp /etc/hosts /etc/hosts-backup
You can read more about what it is for, is it safe to use, sources, … on his github.
Use the command
to make a backup of your /etc/hosts file
Just for reference and backup.
::1 localhost ip6-localhost ip6-loopback