adb devices

List connected Android devices. More information: https://manned.org/adb.

adb devices

adb devices -l