Run a command to generate a random number between 1 and 255, then use that number to ping a server 1 time.
awk -F':' 'BEGIN{srand(); print "shuf -i 1-255 -n " int(rand()*50)}' | xargs printf "ping -c 1 %s\n"