#!/bin/sh
printf "Insert URL: "
read i    
#sed 's/http:\/\///'g 
http=$(echo $i | sed 's/^http\(\|s\):\/\///g' | sed 's/\/.*//'g)
ping -c4 $http
