Skip to content

Instantly share code, notes, and snippets.

@sauravrt

sauravrt/findmypi.sh

Created May 16, 2017
Embed
What would you like to do?
# Script to find raspberry pi ip on your local network
sudo nmap -sP 192.168.1.0/24 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment