Skip to content

Instantly share code, notes, and snippets.

@errkk
Last active May 18, 2016 17:07
Show Gist options
  • 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