

There are plenty more commands to learn if you 're the type who likes to learn commands, but these 10 are the ones you really need to know if you want to start digging around at the command prompt. Using it is easy type adb shell An example would be changing permissions on a file like so: adb shell chmod666 /sdcard/somefile.īe very careful running direct commands using these methods.Īnd there you have it. The other method of using the adb shell command is using it to tell your phone to run a shell command without going into the shell. ** It is not DOS so don't try any DOS commands.** They allow you to interact with your phone through typed commands and a lot of folks use one or both on their Linux or Mac computers even if they didn't know it. To install and run your app on a Amazon Fire TV device for testing, see Installing and Running Your App. ADB is available when you install Android Studio, but Windows users will need to install a special USB driver. I'll warn you that unless you're familiar with an ash or bash shell, you need to be careful here because things can turn south quickly if you're not. Android Debug Bridge (ADB) is a command-line utility for running and managing Android apps on your device or emulator. Using this command, you can see, your phone’s Wi-Fi IP address. Once inside, you can interact with the actual running operating system on your phone. To check the network statistics of your Android device, execute ‘adb shell‘ command and type: netstat adb shell ip. Getting there is easy enough, just type adb shell and enter. In the image above, I'm inside the device shell. There are two ways to use it, one where you send a command to the device to run in its own command-line shell, and one where you actually enter the device's command shell from your terminal.

The adb shell command confuses a lot of folks.

Source: Jerry Hildenbrand / Android Central (Image credit: Source: Jerry Hildenbrand / Android Central)
