Linux Commands Helper
💬 Your AI-powered Linux assistant
iw Command - Wireless Device Configuration
The iw command is a new nl80211 based CLI configuration utility for wireless devices. It is used to manage and configure Wi-Fi interfaces, scan for networks, and set wireless parameters.
Syntax
iw [options] dev <interface> <command> [command options]
Examples
iw dev
List all wireless devices and their information.
iw dev wlan0 scan
Scan for available Wi-Fi networks on wlan0.
iw dev wlan0 link
Show information about the current connection on wlan0.
Notes
- Requires root privileges for most operations.
- Replaces many functions of the older
iwconfig
tool. - Part of the
iw
package, which may need to be installed separately.