

(They are missing from a "user" phone because they are specific to developing or debugging the Android operating system. Many of these commands are not present on a "user" phone. The following is a list of the commands that are present on a Nexus S phone running an Android 2.3.3 "user-debug" build.

The Linux or OSX version of the command may be different in details, but much of the documentation will still apply to the Android version of the command.Īnother source of documentation for people without a Linux or OSX machine handy is to use a web browser and use a web search engine to search for the text: "man Linux command-name". If you're curious about a command, you can sometimes learn how it works by using the "man" command on a desktop Linux or OSX (Apple Macintosh) computer. Many of the Android commands are based on standard Linux (or bsd) commands. #Finding documentation for the Android commands. Install an app Understand the default directories and files AVD system directory AVD data directory List directories and files used by the emulator Command-line startup options Commonly used options The Android SDK includes an Android device emulatora virtual device that runs on your computer. To find out what commands you have available to you, use the "ls" command on each of the directories in the PATH variable. pwd - print name of the current directory.export - makes shell variables available to command-line programs.data/local/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbinĭepending upon your shell, you may see a different result.Įvery shell has a few built-in commands.
