Skip to content

Commit ba7cfb1

Browse files
authored
Merge pull request drduh#314 from StevenBlack/master
Adjust fetching the amalgamated hosts file.
2 parents 702813c + e5f92e9 commit ba7cfb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -797,10 +797,10 @@ For hosts lists, see [someonewhocares.org](https://someonewhocares.org/hosts/zer
797797
To append a list of hosts from a list, use the `tee` command, then confirm by editing `/etc/hosts` or counting the number of lines in it:
798798

799799
```shell
800-
$ curl "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts" | sudo tee -a /etc/hosts
800+
$ curl "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts" | sudo tee /etc/hosts
801801

802802
$ wc -l /etc/hosts
803-
47476
803+
65580
804804

805805
$ egrep -ve "^#|^255.255.255|^0.0.0.0|^127.0.0.1|^0 " /etc/hosts | sort | uniq | sort
806806
::1 localhost

0 commit comments

Comments
 (0)