Skip to content

Instantly share code, notes, and snippets.

@DidahDx
Last active December 12, 2021 09:15
Show Gist options
  • Select an option

  • Save DidahDx/15f1505039209bd280632ede7380825a to your computer and use it in GitHub Desktop.

Select an option

Save DidahDx/15f1505039209bd280632ede7380825a to your computer and use it in GitHub Desktop.
Process death android shell commands
#!/bin/bash
# You should have adb installed in your machine
adb shell
ps -A # show all process details
ps -A | grep com.example.app # show the App(com.example.app) process details
am kill com.example.app # used to kill the process
# https://www.youtube.com/watch?v=l4uD0swZVsM&t=316s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment