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