Created
May 30, 2017 10:00
-
-
Save pstaender/f4573941053c7b1ce44abf310260b617 to your computer and use it in GitHub Desktop.
Refresh dns after updating `/etc/hosts`
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/sh | |
sudo killall -HUP mDNSResponder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment