View Single Post
Posts: 540 | Thanked: 387 times | Joined on May 2009
#259
iwconfig wlan0 | grep ESSID: | awk -F '"' '{print $2}'

FYI: That awk field separator is:
single-quote, double-quote, single-quote

Last edited by linuxeventually; 2010-12-23 at 06:56.