ADB shell commands


The Android Debug Bridge (adb) is a command line tool that helps user to interact or communicate with an emulator or a connected real device.

Mentioned below are the list of ADB COMMANDS available:


ADB Debugging
adb devices
adb forward
adb kill-server

Wireless
adb connect
adb usb

Package Manager
adb install
adb uninstall
adb shell pm list packages
adb shell pm path
adb shell pm clear

File Manager
adb pull
adb push
adb shell ls
adb shell cd
adb shell rm
adb shell mkdir
adb shell touch
adb shell pwd
adb shell cp
adb shell mv

Network
adb shell netstat
adb shell ping
adb shell netcfg
adb shell ip

Logcat
adb logcat
adb shell dumpsys
adb shell dumpstate

Screenshot
adb shell screencap
adb shell screenrecord [4.4+]

System
adb root
adb sideload
adb shell ps
adb shell top
adb shell getprop
adb shell setprop

Comments

Popular posts from this blog

Using Android Key Events via ADB adb shell input keyevent

Docker - Failed to solve with frontend dockerfile.v0: failed to read dockerfile: error from sender: open .Trash: operation not permitted - solution security and privacy

Mobile Application Test Automation Strategy