Run iwconfig
command to get your wireless interface name.
Outputs:
wlp37s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:on
lo no wireless extensions.
enp39s0 no wireless extensions.
Which makes wlp37s0
the interface name.
List the SID's in your neighbourhood where wlp37s0
is the if-name you found using the previous command.
iwlist wlp37s0 scan | grep ESSID
This grep filtered output wil provide of available SID's.
#Needs still to be completed...