Skip to content

Instantly share code, notes, and snippets.

@billglover
Created July 30, 2016 21:46
Show Gist options
  • Save billglover/7eef077d995742208da3793315b2b613 to your computer and use it in GitHub Desktop.
Save billglover/7eef077d995742208da3793315b2b613 to your computer and use it in GitHub Desktop.
List the IP addresses for all Raspberry Pis on the network (range 192.168.2.0/24)
sudo fing -r1 -n 192.168.2.0/24 -o table,csv | awk -F ";" '$7 ~ /Raspberry/ {print $1}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment