2

Of course I know the command: iwconfig

which lists devices (and gives info about whether they have a wireless connection). For the purposes of a shell script, I'm really wondering, is there any way to list only the device names that DO have a wireless connection?

Essentially any other iw command (or something similar)... Specifically looking for solutions besides iwconfig | grep ...

1 Answer 1

4

Try ls /sys/class/net | grep w

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .