Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kumbasar/f2676f3de0047c51659041f05f364a91 to your computer and use it in GitHub Desktop.
Save kumbasar/f2676f3de0047c51659041f05f364a91 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 true
do /System/Library/PrivateFrameworks/Apple*.framework/Versions/Current/Resources/airport -I \
| grep CtlRSSI \
| sed -e 's/^.*://g' \
| xargs -I SIGNAL printf "\nWiFi dBm: SIGNAL"
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment