3 Written by: Oscar J. Rodriguez
5 This is used to discover all the raspberry on the network, and save it in a iplist
7 #nmap -sn 192.168.18.83/25 | grep 192 > log.txt && awk '{print $5}' log.txt | grep 192 | tee log.txt
8 #for HOST in $(cat log.txt ) ; do ssh $HOST "uname -a" ; done
10 grep -E -o "([0-9]{1,3}[\.]){3}[0-9]{1,3}" log.txt > iplist