adb shell

suggest change

Introduction

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 http://stackoverflow.com/documentation/android/1051/adb-android-debug-bridge after that page reached its example limit. Many of those examples used the adb shell command.

Syntax

Parameters

Parameter Details
-e Choose the escape character, or none. The default is ~.
-n Do not read from stdin
-T Disable PTY allocation
-t Force PTY allocation
-x Disable remote exit codes and stdout/stderr separation

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents