Run this command to periodically rescan for specific network SSID: while :; do \ clear; echo "${airport_out}"; \ airport_out=$(airport --scan=<YOUR_SSID> 2>&1 | awk 'NR == 1; NR > 1 {print $0 | "sort -k3"}'); \ done