I have one login script written to login to my device, when multiple devices are connected, how to run that script in particular device.
login.sh
adb shell input text abc@def.com adb shell input keyevent 61 adb shell input text abc123 adb shell input keyevent 61