Skip to content

Instantly share code, notes, and snippets.

@carlosmcevilly
Created October 7, 2012 07:11
Show Gist options
  • Save carlosmcevilly/3847382 to your computer and use it in GitHub Desktop.
Save carlosmcevilly/3847382 to your computer and use it in GitHub Desktop.
flush the DNS cache
#!/bin/bash
dscacheutil -flushcache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment