mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 20:55:59 +00:00
Update cheatsheets
This commit is contained in:
@@ -12,10 +12,14 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`adb reverse --list`
|
||||
|
||||
- Reverse a TCP port from an emulator or device to localhost:
|
||||
- Reverse a TCP port from the only connected emulator or device to localhost:
|
||||
|
||||
`adb reverse tcp:{{remote_port}} tcp:{{local_port}}`
|
||||
|
||||
- Reverse a TCP port from a specific emulator or device (by device ID / [s]erial number) to localhost:
|
||||
|
||||
`adb -s {{device_ID}} adb reverse tcp:{{remote_port}} tcp:{{local_port}}`
|
||||
|
||||
- Remove a reverse socket connections from an emulator or device:
|
||||
|
||||
`adb reverse --remove tcp:{{remote_port}}`
|
||||
|
||||
Reference in New Issue
Block a user