Last active
May 18, 2016 17:07
-
-
Save errkk/9cb7333d9a6fa8eb1136 to your computer and use it in GitHub Desktop.
Find Raspberry Pis on network
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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