Skip to content

Latest commit

 

History

History
executable file
·
13 lines (9 loc) · 459 Bytes

MISC.md

File metadata and controls

executable file
·
13 lines (9 loc) · 459 Bytes

Wifi

It can be useful to create a symlink to the internal airport binary so you can control wifi from your terminal:

ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport /usr/local/bin/wifi

Results:

  • wifi -s: list available wifi networks.
  • wifi -I: info on the current wifi connection.

NOTE: Reference.