ping -n option code example
Example 1: how to ping in cmd
ping -n <number of echo request to send> -l <buffer size> <website url>
ping -n 10 -l 50 google.com
Example 2: ping command output to null in linux
command > /dev/null
ping -n <number of echo request to send> -l <buffer size> <website url>
ping -n 10 -l 50 google.com
command > /dev/null