System
ADB Debugging
Package Manager
Logcat
Wireless
File Manager
ScreenShot
Network
logcat
This command is used to check the internet related services and network connections
adb shell ping -c numberOfEchoReq URL/IP
Specifies the number of echo Request messages sent
adb shell ping -c1 www.google.com
adb shell ping -W amountOfTimeInMilliseconds URL/IP
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
adb shell ping -W 2000 127.0.0.1
adb shell ping -i intervalInSeconds URL/IP
Specifies the interval in seconds
adb shell ping -i 2 127.0.0.1
adb shell ping URL/IP
adb shell ping www.google.com
Frequently Asked Questions
It is a command used for testing and diagnosis for network and connectivity issues.
The default time out is 4000ms or 4s
To exit the adb shell ping, simply hit Ctrl+C.