Created
January 14, 2018 18:46
-
-
Save miglen/130ce60e5bc353878c920a6fe90bd9b5 to your computer and use it in GitHub Desktop.
Mac OS X Wifi Signal strength meter command line
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
#!/bin/bash | |
# Simple command to display the wireless strenght signal | |
# | |
clear | |
while x=1 | |
do /System/Library/PrivateFrameworks/Apple*.framework/Versions/Current/Resources/airport -I \ | |
| grep CtlRSSI \ | |
| sed -e 's/^.*://g' \ | |
| xargs -I SIGNAL printf "\rWifi dBm: SIGNAL" | |
sleep 0.5 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment