EditHosts

EditHosts

EditHosts is a tool for blocking ads, increased security and privacy protection for the Linux operating systems (like Ubuntu, Kubuntu, Xubuntu, Lubuntu, Debian, or Linux Mint)

Share on:   Google+       Thanks. 

Handbook

First, make sure that you have a Linux operating system (such as Ubuntu, Debian or Linux Mint, etc.), you have Git and sudo installed, you have the right root and right sudo.

Edithosts can not in any case be used on Windows (not really even on Windows XP, Windows Vista, Windows 7, Window 8, Windows 9, Windows 10, Windows 11, Windows 12, or any future version of Windows, perhaps only if the company Microsoft started its new products to make the Linux based).

Install:

cd /tmp
git clone https://github.com/jiri001meitner/edithosts.git
edithosts/install.sh
Used for program installation and backup current settings /etc/hosts file.

Uninstall:

/opt/edithosts/uninstall.sh
Used to uninstall the program and return all settings.

Installation and uninstallation most users enough.

For advanced users

/opt/edithosts/temporarilydisableblocking.sh
or
temporarilydisableblocking
Used to temporarily deactivate blocking, that is set to 10 minutes (if you set time does not, you can change the file /opt/edithosts/temporarilydisableblocking.sh. When you do not eat any web, so that's how you can check whether it is not blacklisted. If you press Ctrl + C (^C) (in terminal) and Edithosts remains blocked until it manually not wake up through the command refreshblocking.
/opt/edithosts/refreshblocking.sh
or
refreshblocking
Use to manually activate the blocking (if you have disabled via temporarilydisableblocking).

Manually editing the file /etc/hosts

/opt/edithosts/edithosts.sh
or just enter in the terminal only
edithosts
For editing /etc/hosts in your favorite text editor. Direct editing the file /etc/hosts another way - for example, via sudo nano /etc/hosts is not recommended because when you update would erase the changes.

Additional commands, info about files

/etc/cron.monthly/updateprogramuedithosts
It is a symbolic link to /opt/edithosts/autoupdate.sh and used for automatic monthly updates of the EditHosts tools.
/etc/cron.weekly/edithosts
It is a symbolic link to /opt/edithosts/cron.weekly-edithosts and is used to automatically updates (weekly) blacklist.
/opt/edithosts/gethosts.sh
or in the terminal only need to enter
gethosts
Used to manually update the blacklist.
man edithosts
Used to display manual page.

This website in Czech language

I recommend jewish-eshop.cz