Skip to content

Instantly share code, notes, and snippets.

@chankruze
Created November 14, 2019 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chankruze/13be9b5f4f69fe13e6ac5e2340dae78a to your computer and use it in GitHub Desktop.
Save chankruze/13be9b5f4f69fe13e6ac5e2340dae78a to your computer and use it in GitHub Desktop.
#!/bin/bash
cd ~/Android/Sdk/platform-tools
./adb connect $(ip route show | grep "default via" | cut -d" " -f3):5555
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment