{
    "mode": "man",
    "parameter": "iw",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/iw/8/json",
    "generated": "2026-06-03T01:23:12Z",
    "synopsis": "iw [ OPTIONS ] { help [ command ] | OBJECT COMMAND }\nOBJECT := { dev | phy | reg }\nOPTIONS := { --version | --debug }",
    "sections": {
        "NAME": {
            "content": "iw - show / manipulate wireless devices and their configuration\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "iw [ OPTIONS ] { help [ command ] | OBJECT COMMAND }\n\n\nOBJECT := { dev | phy | reg }\n\n\nOPTIONS := { --version | --debug }\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "--version",
                    "content": "print version information and exit.\n\n",
                    "long": "--version"
                },
                {
                    "name": "--debug",
                    "content": "enable netlink message debugging.\n\n",
                    "long": "--debug"
                }
            ]
        },
        "IW - COMMAND SYNTAX": {
            "content": "OBJECT",
            "subsections": [
                {
                    "name": "dev <interface name>",
                    "content": "- network interface.\n\n"
                },
                {
                    "name": "phy <phy name>",
                    "content": "- wireless hardware device (by name).\n"
                },
                {
                    "name": "phy#<phy index>",
                    "content": "- wireless hardware device (by index).\n\n\nreg    - regulatory agent.\n\n\nCOMMAND\nSpecifies the action to perform on the object.  The set of possible actions depends on the\nobject type.  iw help will print all supported commands, while iw help command will print the\nhelp for all matching commands.\n\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "ip(8), crda(8), regdbdump(8), regulatory.bin(5).\n\nDocumentation at kernel wiki ⟨https://wireless.wiki.kernel.org/en/users/Documentation/iw⟩.\n\n\n\niw                                        22 November 2020                                     IW(8)",
            "subsections": []
        }
    },
    "summary": "iw - show / manipulate wireless devices and their configuration",
    "flags": [
        {
            "flag": "",
            "long": "--version",
            "arg": null,
            "description": "print version information and exit."
        },
        {
            "flag": "",
            "long": "--debug",
            "arg": null,
            "description": "enable netlink message debugging."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "ip",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/ip/8/json"
        },
        {
            "name": "crda",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/crda/8/json"
        },
        {
            "name": "regdbdump",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/regdbdump/8/json"
        },
        {
            "name": "regulatory.bin",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/regulatory.bin/5/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Show and manipulate wireless devices.",
        "examples": [
            {
                "description": "Scan for available wireless networks",
                "command": "iw dev {{wlanX}} scan"
            },
            {
                "description": "Join an open wireless network",
                "command": "iw dev {{wlanX}} connect {{ssid}}"
            },
            {
                "description": "Close the current connection",
                "command": "iw dev {{wlanX}} disconnect"
            },
            {
                "description": "Show information about the current connection",
                "command": "iw dev {{wlanX}} link"
            },
            {
                "description": "List all physical and logical wireless network interfaces",
                "command": "iw dev"
            },
            {
                "description": "List all wireless capabilities for all physical hardware interfaces",
                "command": "iw phy"
            },
            {
                "description": "List the kernel's current wireless regulatory domain information",
                "command": "iw reg get"
            },
            {
                "description": "Display help",
                "command": "iw help"
            }
        ]
    }
}