One way to achieve this is as follows:

```
adb devices -l

```

example output:  

```
123abc12               device product:<id> model:<id> device:<id>
456abc45               device product:<id> model:<id> device:<id>

```

But this list's out all devices connected, but I want to get the information for a specific device.  
I want information only about "123abc12". The output should be:

```
123abc12               device product:<id> model:<id> device:<id>

```

The second device should not be shown.  

I have the device name i.e 123abc12, and it can be used to get the required information, but I don't know how.  

Thanks.