January 19, 201511 yr The first thing you’ll want to do is create a symbolic link to the airport command, because it is situated in a very inconvenient location for quick usage. Doing so is very easy, in the Terminal type the following: sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport OR you can do it in two different commands cd /usr/sbinsudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport Go ahead and test the command to make sure its working for you airport -I Scan all available networks the airport can see airport -s If you wanted to see your preferred WiFi networks from the command line networksetup -listpreferredwirelessnetworks en0 networksetup -listpreferredwirelessnetworks en1
Create an account or sign in to comment