Created
May 24, 2023 18:18
-
-
Save whitipet/01310aa801cd322be98746c0297c3698 to your computer and use it in GitHub Desktop.
Connect adb to the device that acts as a hotspot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb connect $(route -n get default | grep gateway | awk '{ print $2 }') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment