Last active
July 11, 2019 12:30
-
-
Save kidroca/4dd47fc0d5322d75e7118620497845d8 to your computer and use it in GitHub Desktop.
Windows `cmder` Terminal Commands not used regularly enough to remember
This file contains hidden or 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
### See what's running on port | |
netstat -a -n -o | grep 5556 | |
### App name using port | |
tasklist /v | grep 5556 | |
### Another variant but requires elevated privileges | |
netstat -anob | |
### Serach cmder history with grep | |
grep -w "adb" %cmder_root%/config/.history | |
### adb list 3rd party packages | |
adb shell pm list packages -3 | |
### adb start app by package name | |
adb shell monkey -p com.somePackage.name -c android.intent.category.LAUNCHER 1 | |
### adb start app by package and activity | |
adb shell am start -n com.somePackage.name/.MainActivity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment