# Using a script to select an Android device for ADB deeplink commands

DevFeed: [Using a script to select an Android device for ADB deeplink commands](<https://devfeed.tech/articles/making-adb-a-little-bit-dynamic-26170.md>)

Original publisher: [Read original article](<https://zarah.dev/2023/08/30/adb-deeplinks.html>)

Author: Zarah Dominguez

Published: 2023-08-30T00:00:00Z

Content type: tutorial

Language: en

Sources: [Zarah Dominguez](<https://devfeed.tech/sources/zarah-dominguez.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Script](<https://devfeed.tech/topics/script.md>), [Emulator](<https://devfeed.tech/topics/emulator.md>)

Tags: [adb](<https://devfeed.tech/tags/adb.md>), [android](<https://devfeed.tech/tags/android.md>), [debug](<https://devfeed.tech/tags/debug.md>), [deeplinks](<https://devfeed.tech/tags/deeplinks.md>), [emulator](<https://devfeed.tech/tags/emulator.md>), [regex](<https://devfeed.tech/tags/regex.md>), [script](<https://devfeed.tech/tags/script.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

## AI overview

This tutorial explains a script that makes Android Debug Bridge deeplink testing easier when multiple devices or emulators are attached. It lists available devices, prompts for a target when necessary, and sends the command to the selected device.

## Source excerpt

Android has a lot of tools for developers and one that has been around for as long as I can remember is Android Debug Bridge (adb). It allows you to issue commands to an attached device, such as installing an app or starting an Activity.