Created
February 12, 2023 23:12
-
-
Save bstonedev/b84b393b95b045528da6910ded7dcf2d to your computer and use it in GitHub Desktop.
Mac OS - Terminal Commands to Edit Etc/Hosts File and Flush DNS Cache
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
sudo nano /etc/hosts | |
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment