Skip to content

Instantly share code, notes, and snippets.

@seankross
Last active April 6, 2017 15:58
Show Gist options
  • Save seankross/ca53998f03ac435bfb82e21df8ce01f5 to your computer and use it in GitHub Desktop.
Save seankross/ca53998f03ac435bfb82e21df8ce01f5 to your computer and use it in GitHub Desktop.
power cycle wifi
alias wifi='networksetup -setairportpower en0 off;sleep 2;networksetup -setairportpower en0 on'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment