Forrest logo
back to the airport tool

airport:tldr:7fb08

airport: Scan for available wireless networks.
$ airport --scan
try on your machine

The command "airport --scan" is used on a macOS operating system to scan for available Wi-Fi networks in the vicinity.

When you execute this command in the Terminal on macOS, the "airport" utility is called with the "--scan" option. The "airport" utility is a command-line tool provided by Apple that allows users to interact with wireless networks and various Wi-Fi features.

The "--scan" option specifically instructs the "airport" utility to perform a scan of the surrounding area and gather information about nearby Wi-Fi networks. This command will display a list of available Wi-Fi networks along with their corresponding details such as network name (SSID), signal strength, security type, and MAC address.

By using this command, you can obtain a comprehensive view of the Wi-Fi networks available around you. It can be useful for troubleshooting network issues, finding the strongest signal, or identifying unauthorized or unfamiliar networks.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the airport tool