Created
June 16, 2015 11:14
-
-
Save meyju/704b41759e2c8033b9f1 to your computer and use it in GitHub Desktop.
OS X Launchbar - Clear DNS Cache
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
# Cleaning DNS Cache | |
# sudo config : <username> localhost=NOPASSWD:/<path_to_command>/dnscache.command | |
sudo dscacheutil -flushcache | |
osascript -e 'tell application "Terminal" to quit' & exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment