What is the command to list the available avdnames
Using sdk/tools/emulator
This will list all available avds
emulator -list-avds
get into Android/sdk/tools and run following command
./emulator -list-avds
which will return something like
Nexus_5X_API_PNexus_6_API_25