airport
Airport is a command line tool available on macOS that primarily deals with the management of wireless networks. It provides a range of functionalities related to the macOS Wi-Fi framework. With Airport, users can perform tasks like scanning, managing, and configuring network connections, and monitoring wireless networks.
One of the key features of Airport is the ability to scan for wireless networks around your system. It displays a variety of information about nearby networks including SSID, BSSID, RSSI, channel, and security type. This can be useful to find available networks, troubleshoot connectivity issues, or analyze network performance.
Airport also supports functionalities to connect or disconnect from a specific Wi-Fi network. This can be done using the command line interface, allowing for automation or quick network switching.
Furthermore, Airport enables users to manage preferred networks, add new networks with custom configurations, and remove existing networks from the preferred list.
Airport supports several command line options and arguments to access specific functionalities, making it a versatile tool for Wi-Fi network management from the terminal.
Overall, Airport provides a convenient way to interact with wireless networks on macOS through the command line, giving users more control over their network connections.
List of commands for airport:
-
airport:tldr:68a6a airport: Disassociate from current airport network.$ sudo airport --disassociatetry on your machineexplain this command
-
airport:tldr:7fb08 airport: Scan for available wireless networks.$ airport --scantry on your machineexplain this command
-
airport:tldr:91831 airport: Show current wireless status information.$ airport --getinfotry on your machineexplain this command
-
airport:tldr:ded32 airport: Sniff wireless traffic on channel 1.$ airport sniff ${1}try on your machineexplain this command