Skip to content

Instantly share code, notes, and snippets.

@doublemarket
Created August 23, 2016 07:12
Show Gist options
  • Save doublemarket/b247a75ccb60a44ee5bf4d8bdd5e4aa2 to your computer and use it in GitHub Desktop.
Save doublemarket/b247a75ccb60a44ee5bf4d8bdd5e4aa2 to your computer and use it in GitHub Desktop.
Restarting wifi interface on Mac
alias wr='/usr/sbin/networksetup -setairportpower en0 off && sleep 1 && /usr/sbin/networksetup -setairportpower en0 on'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment