Last active
February 25, 2021 20:58
-
-
Save anthonygelibert/6a1a81cca382c66653d25007b9ec6dcd to your computer and use it in GitHub Desktop.
Update /etc/hosts with the "Zero Hosts" file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# wget -O /etc/hosts.tmp https://someonewhocares.org/hosts/zero/hosts | |
wget -O /etc/hosts.tmp https://sebsauvage.net/hosts/hosts | |
icdiff -U 0 /etc/hosts /etc/hosts.tmp | |
sudo mv /etc/hosts{.tmp,} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment