Created
February 27, 2013 16:12
-
-
Save homelinen/5049111 to your computer and use it in GitHub Desktop.
Simple bash script to get wireless information from wicd.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Possible Implementation for testing the wireless signal | |
# Outputs: | |
# {essid} {quality} | |
wicd-cli --wireless -d | grep -P -i "essid|quality" | cut -d " " -f 2 | awk '!/0$/{printf "%s ",$0}/0$/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment