Created
May 1, 2016 14:15
-
-
Save Pierozi/819bb79b33d8f6afe599d340b3b8bc7f to your computer and use it in GitHub Desktop.
Wifi Strength
This file contains 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
#!/usr/bin/env bash | |
for (( ; ; )) | |
do | |
iwconfig wlan0 | grep -i --color quality | |
ping free.fr -c 4 | tail -1 | awk '{print $4}' | cut -d '/' -f 2 | |
ping fritz.box -c 4 | tail -1 | awk '{print $4}' | cut -d '/' -f 2 | |
sleep 1 | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment