config/scripts/adbkill

5 lines
86 B
Bash
Executable File

#!/bin/bash
pid=$(adb shell "ps | grep $1" | awk '{print $2}')
adb shell "kill $pid"