Skip to content

Instantly share code, notes, and snippets.

@geowa4
Created May 4, 2020 01:46
Show Gist options
  • Save geowa4/ca9fb9410782d546b49aa8533b1bd92c to your computer and use it in GitHub Desktop.
Save geowa4/ca9fb9410782d546b49aa8533b1bd92c to your computer and use it in GitHub Desktop.
Find my Raspberry Pis' IPs
# Ran on my Mac on WiFi
nmap -oG - -A -p22 "$(ipconfig getifaddr en0 | cut -d . -f 1-3).0/24" | grep Raspbian | cut -d ' ' -f 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment