# iw
Command for interacting with a wifi interface.

## Check what interfaces you currently have
```
iw dev
```

Might see output like this:

```
──(kali㉿NUC11-UBU)-[~]
└─$ iw dev
phy#0
        Interface wlan0
                ifindex 3
                wdev 0x1
                addr xx:xx:xx:xx:xx:xx
                type managed
                txpower 20.00 dBm
                multicast TXQ:
                        qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes        tx-packets
                        0       0       0       0       0       0       0       0               0
                                                                                                         
```

## Delete monitor-mode interface
```
sudo iw dev wlan0mon del
```

## Recreate managed-mode wifi interface
*(This is helpful if you type `iw dev`) and nothing is listed for your wifi interface.*

```
sudo iw phy phy0 interface add wlan0 type managed
```
