Created
May 1, 2014 16:14
-
-
Save royclarkson/f39115fe0a7ac1f08630 to your computer and use it in GitHub Desktop.
Bash script to kill all running Android emulators
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
#!/bin/bash | |
for ((PORT=5554; PORT<=5584; PORT+=2)); do | |
echo killing emulator-$PORT... | |
adb -s emulator-$PORT emu kill | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Another take: