35
rated 0 times
[
35]
[
0]
/ answers: 1 / hits: 158916
/ 2 Years ago, sun, may 22, 2022, 2:41:37
Neither iwconfig
nor iwlist
seem to be able to do this for me.
More From » networking
Neither iwconfig
nor iwlist
seem to be able to do this for me.
Run nm-tool | grep *
. That should show just the line with the SSID you are connected to.
Edit: The nm-tool
utility had ceased to exist, so in 16.04 and newer releases, please use any of the methods suggested by my esteemed colleagues below.
For example: nmcli -t -f active,ssid dev wifi | egrep '^yes' | cut -d' -f2
works well.