/dev/null

List available wifi networks from the Mac OS X terminal command line

List available wifi networks from the Mac OS X terminal command line:

Include the following line in your ~/.bash_profile

alias airport='/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport'

Reload your .bash_profile

source ~/.bash_profile

Run airport -s to list all WiFi networks - without typing the full path to the airport command :wink:

First published on April 1, 2016