How to use the scripts

For Unix

  1. Open terminal

  2. Download the zip here. You can run wget https://github.com/priyankpat/hosts-automta/raw/master/unix/unix.zip

  3. Unzip the archive

  4. 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 ran install.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)

  1. Download the zip here

  2. Unzip the archive

  3. 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 ran install.bat
  • To uninstall the host file, run uninstaller.bat