Read IMEI value from console

I would like to read the SIM number form the console.
Could you help me ?

Hi,
You can access IMEI with
cm info
or
cm info imei
Regards,
Nicolas

Hi,
If you are trying to read the ICCID, I am not aware of an octave command to read it directly but you can access the AT port from the console using microcom.

Echo is initially disabled. Enable it by typing ‘ate’
ctrl-x to exit microcom

root@swi-mdm9x28-wp:~# microcom /dev/ttyAT

at+iccid
ICCID: 89332401000009560984

OK

Thanks,
Ian