What terminal command shows the type of display that I have on my MacBook Pro? What terminal command shows the type of display that I have on my MacBook Pro?  I used the following command in terminal and it didn't work:

ioreg -lw0 | grep \"EDID\" | sed "/[^&lt;]*
ioreg -lw0 | grep \"EDID\" | sed "/[^&lt;]*&lt;/s///" | xxd -p -r | strings -6


Depending on the string that comes up it will tell you the manufacturer of the display. It will not display in plain text. 

Assuming you have a Retina display, a string with LP in it means it's an LG.