Skip to content

Instantly share code, notes, and snippets.

@bk2zsto
Created January 17, 2020 01:28
Show Gist options
  • Save bk2zsto/dcba5974bfcdfd5ade296f5a039e2c5e to your computer and use it in GitHub Desktop.
Save bk2zsto/dcba5974bfcdfd5ade296f5a039e2c5e to your computer and use it in GitHub Desktop.
#!/bin/sh
# Track which Meraki WAP you are connected to in real-time
while `true`;do
date +"%H:%M:%S - `curl --connect-timeout 5 -kL http://ap.meraki.com/index.json 2>/dev/null | jq -r .config.node_name`"
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment