Created
September 13, 2025 12:35
-
-
Save theking2/52fd13f4691743dd523da5728bd92026 to your computer and use it in GitHub Desktop.
update-hosts
This file contains hidden or 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/bash | |
| cp /etc/hosts.base ~/hosts | |
| curl https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts >> ~/hosts | |
| sudo mv ~/hosts /etc/hosts | |
| sudo systemctl reload dnsmasq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment