I Did Not Know: networksetup -setairportpower
I sometimes want to turn off my MacBook Pro’s Airport wireless to save battery, even though its battery capacity is kinda awesome.
I fiddle with the icon in the menu bar and get grumpy because that’s the way you make this change and ugh, I’m tired of that. But guess what:
$ networksetup -setairportpower en1 on
$ networksetup -setairportpower en1 off