shell script for ping network