Skip to content

Instantly share code, notes, and snippets.

@meyju
Created June 16, 2015 11:14
Show Gist options
  • Save meyju/704b41759e2c8033b9f1 to your computer and use it in GitHub Desktop.
Save meyju/704b41759e2c8033b9f1 to your computer and use it in GitHub Desktop.
OS X Launchbar - Clear DNS Cache
# 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