Skip to content

Instantly share code, notes, and snippets.

@miglen
Created January 14, 2018 18:46
Show Gist options
  • Save miglen/130ce60e5bc353878c920a6fe90bd9b5 to your computer and use it in GitHub Desktop.
Save miglen/130ce60e5bc353878c920a6fe90bd9b5 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