Flushes the dns cache so that changes in /etc/hosts will take effect.
Last active
September 12, 2015 19:38
-
-
Save petermac-/c51fe93eaedfd7e336c1 to your computer and use it in GitHub Desktop.
flushdns-yosemite.sh
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 discoveryutil mdnsflushcache;sudo discoveryutil udnsflushcaches;say flushed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment