ADB command to dial Code *#06#
Here's the command to type in ADB mode to show IMEI info:

adb shell am start -n com.android.settings/com.android.settings.deviceinfo.ImeiInformation


For Terminal Emulator from device:

am start -n com.android.settings/com.android.settings.deviceinfo.ImeiInformation