Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kuncevic/b737fb549ec964209cc67213c17eee01 to your computer and use it in GitHub Desktop.
Save kuncevic/b737fb549ec964209cc67213c17eee01 to your computer and use it in GitHub Desktop.
Mac OS X Wifi Signal strength meter command line
#!/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