Skip to content

Instantly share code, notes, and snippets.

@sauravrt
Created May 16, 2017 17:37
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 sauravrt/36410c9b39b3c358fcffa6749c72ff7c to your computer and use it in GitHub Desktop.
Save sauravrt/36410c9b39b3c358fcffa6749c72ff7c to your computer and use it in GitHub Desktop.
# 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