How to use the scripts
For Unix
-
Open terminal
-
Download the zip here. You can run
wget https://github.com/priyankpat/hosts-automta/raw/master/unix/unix.zip
-
Unzip the archive
-
Run the script for following use case:
- To install the host file for the first time, run
install.sh
- To update the host file, run
updater.sh
. NOTE: only run this if you already raninstall.sh
- To uninstall the host file, run
uninstaller.sh
For Windows
Note: run the .bat files with administrator privilege (Right click on the file > Run as Administrator)
-
Download the zip here
-
Unzip the archive
-
Run the script for following use case:
- To install the host file for the first time, run
install.bat
- To update the host file, run
updater.bat
. NOTE: only run this if you already raninstall.bat
- To uninstall the host file, run
uninstaller.bat