I want to write a Python script. In order to write it I need to figure out how to access the values associated with my signal level and bit rate.
If I use the following command
iwconfig | grep 'Signal level'
eth0 no wireless extensions.
lo no wireless extensions.
Link Quality=70/70 Signal level
= -38 dBm
Obviously, I don't want Signal level
. I want whatever it happens to be. In this case, it happens to be -38. Ditto Bit Rate...How do I grab -38 from the command line?