Looking for android Answers? Try Ask4KnowledgeBase
Looking for android Keywords? Try Ask4Keywords

Androidadb shell


adb shell opens a Linux shell in a target device or emulator. It is the most powerful and versatile way to control an Android device via adb.

This topic was split from ADB (Android Debug Bridge) due to reaching the limit of examples, many of which were involving adb shell command.


  • adb shell [-e escape] [-n] [-Tt] [-x] [command]


-echoose escape character, or "none"; default '~'
-ndon't read from stdin
-Tdisable PTY allocation
-tforce PTY allocation
-xdisable remote exit codes and stdout/stderr separation