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
This topic was split from http://stackoverflow.com/documentation/android/1051/adb-android-debug-bridge due to reaching the limit of examples, many of which were involving
adb shell command.
| Parameter | Details | | — | –– | |-e| choose escape character, or “none”; default ‘~’| |-n| don’t read from stdin| |-T| disable PTY allocation| |-t| force PTY allocation| |-x| disable remote exit codes and stdout/stderr separation|