Created
September 9, 2014 04:25
-
-
Save danmactough/088ac82834d9dde6ddd3 to your computer and use it in GitHub Desktop.
Supposedly, this will flush your dns cache on Mac OS X Mountain Lion and greater
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/bash | |
if [[ $OSTYPE == darwin* ]]; then | |
sudo killall -HUP mDNSResponder | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍