目录

How do I obtain the UDID of a device using the hdc command?

You can run either of the following commands to obtain the UDID of the device:

hdc shell bm get -u
hdc shell bm get --udid