May 12
A short (one line) script for linux that pings all clients on your network. If using another subnet than 192.168.0 then you have to adjust the numbers.
export i=0; while [[ $((++i)) -le 254 ]]; do ping -c1 -w1 192.168.0.$i | grep ttl | cut -d " " -f4 | cut -d ":" -f1; done;
Thanks to snipplr.com
