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).
cd /tmp git clone https://github.com/jiri001meitner/edithosts.git edithosts/install.sh
Used for program installation and backup current settings /etc/hosts file.
Used to uninstall the program and return all settings.
Installation and uninstallation most users enough.
For advanced users
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.
Use to manually activate the blocking (if you have disabled via temporarilydisableblocking).
Manually editing the file /etc/hosts
or just enter in the terminal only
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
It is a symbolic link to /opt/edithosts/autoupdate.sh and used for automatic monthly updates of the EditHosts tools.
It is a symbolic link to /opt/edithosts/cron.weekly-edithosts and is used to automatically updates (weekly) blacklist.
or in the terminal only need to enter
Used to manually update the blacklist.
Used to display manual page.