Android common ADB and Linux commands

Source: Internet
Author: User

I. ADB-related

ADB shell: Enter the connected USB debug mode device shell command line

ADB tcpip 5555: Debug and connect the USB connection to network remote mode for debugging here the port is 5555 (adb default port is 5555 modifiable, but cannot be omitted)

ADB connect [Ip:port]: Remote connection to the debugger, as long as the remote machine is already in the computer using the USB connection call above command, changed to remote connection mode (where the port can be omitted, if omitted is the default port 5555)

Second, the Android Linux-related commands that the ADB shell uses the command

CTRL + C: Stop the currently executing command

Ping URL/IP: For network connectivity Testing

IP: replace ifconfig with network-related commands

IP addr Show: Show all IP information on this machine

IP Addr Show wlan0: Display IP information for wlan0

LS: real-World Current file list

Ls–all: A detailed list of real-world current directories

Exit: Exit the remote shell back to the local command line

Android common ADB and Linux commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.