![]() (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. Hit the return key, authenticate with sudo to instantly shut down the Mac. Enter the halt command syntax exactly as described: sudo halt. Many of the Android commands are based on standard Linux (or bsd) commands. The process and syntax for ‘halt’ to turn off a Mac is as follows: Open the Terminal. #Finding documentation for the Android commands. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |