Skip to content

Instantly share code, notes, and snippets.

@lidaobing
Created January 22, 2018 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lidaobing/e7862923e93f38ccb047848cb7a456e3 to your computer and use it in GitHub Desktop.
Save lidaobing/e7862923e93f38ccb047848cb7a456e3 to your computer and use it in GitHub Desktop.
$ sudo networksetup -setairportpower en5 off
en5 is not a Wi-Fi interface.
Turning off the only airport interface found: en0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment