#!/bin/sh P=`ping -c3 -q 62.4.16.248|grep round|cut -d" " -f4` MIN=`echo $P|cut -d"/" -f1` MAX=`echo $P|cut -d"/" -f2` echo $MAX echo $MIN