Send one ping request to host with local address in the 10.0.0.x range, with last number specified by variable "i", waiting 1 second for a reply, and output only lines containing "from" to standard output.
ping -W 1 -c 1 10.0.0.$i | grep 'from' &