Ping is a computer network administration software utility used to test the reachability of a host on an Internet Protocol (IP) network and to measure the round-trip time for messages sent from the originating host to a destination computer and back.
Code to send a variable number of pings:
ping -n X -l IP/URL
X = number of pings
Example: (two pings to 184.108.40.206)
ping -n 2 -l 1450 220.127.116.11