I am new to Android development and I want to run PING command through LINUX shell.
When I run PING in windows(example : ‘ping google.com’) it automatically calculates the max, min and avg time and displays it. But I am not sure if the same happens with Linux or not.
I have tried to ping using code, all I get is single line responses () and I am manually calculating the max, min & average times. So, I want to check directly by pinging in the LINUX shell and see if it displays the max, min and avg time , just like DOS does.
Any information would be helpful.
Thanks in advance
you can use ping command with -c option.
just look like :