So my goal is to answer my other question I am working on. Which is Connect to Open Wifi. Currently I am getting close, as I know there is only one Wifi connection, I would like to export the results of
sudo iwlist wlan0 scan | grep ESSID
to a text file. The output currently is:
ESSID: "MyNetworkSSID" # Which would end up being in the file
What I want is a text file that says only
"MyNetworkSSID"