adb shell ping

In this article, we shall look at the “adb shell ping” adb command and also how to use “adb shell ping” command, with an example.

How to use adb shell ping

PING (Packet Internet Groper) is a network administration utility used to testing, and diagnosing network connectivity issues

adb shell ping
Note: press Ctrl-C to stop ping

Specifies the number of echo Request messages sent

adb shell ping -c 4

Specifies the amount of time, in milliseconds, to wait for the echo Reply message that corresponds to a given echo Request message to be received

The default time-out is 4000 (4 seconds)
adb shell ping -W 200

Interval in seconds

By default, interval is 1 second
adb shell ping -i 2

If you are looking for the latest ADB Driver for Android, you can get from here: ADB Driver

Leave a Comment