Linux Shell Script - how to split string into variables?
easy :) Let's assume your variable for the ping response line is called $PINGRESPONSE export PINGRESPONSE="64 bytes from 172.28.65.253: icmp_seq=1 ttl=128 time=0.221 ms" this is how you'd get the info you want out of it using standard linux/unix commands:
answers.yahoo.com |