Skip to content

Instantly share code, notes, and snippets.

@errkk
Last active May 18, 2016 17:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save errkk/9cb7333d9a6fa8eb1136 to your computer and use it in GitHub Desktop.
Save errkk/9cb7333d9a6fa8eb1136 to your computer and use it in GitHub Desktop.
Find Raspberry Pis on network
#!/bin/sh
RANGE=$1
echo "Looking for Pis in 10.193.${RANGE:-9}.0/24"
sudo nmap -sP "10.193.${RANGE:-9}.0/24" | grep "B8:27" -B 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment