Forrest logo
back to the iwctl tool

iwctl:tldr:92d08

iwctl: Display the networks found by a station.
$ iwctl station ${station} get-networks
try on your machine

The command "iwctl station ${station} get-networks" is used to get the list of available Wi-Fi networks on a specific interface.

Here's a breakdown of the command:

  • "iwctl" is the command-line utility for controlling and configuring wireless devices and networks on Linux.
  • "station" is a keyword used to specify the station (Wi-Fi interface) on which the command is to be executed.
  • "${station}" is a placeholder for the actual name of the Wi-Fi interface (e.g., wlan0). You need to replace "${station}" with the appropriate value.
  • "get-networks" is the subcommand used to retrieve information about the available Wi-Fi networks.

So, when you run this command with the correct Wi-Fi interface name, it will display a list of Wi-Fi networks that your device can detect.

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 iwctl tool