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 "/[^<]*
|
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:
|
||||
| show 1 more comment |
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. |
|||||||||||||||
|
|
Does the relevant info show up in system profiler? If so, there's a command line: system_profiler. You can extract all kinds of information using the command line and piping it to cat, sed, awk, more, tail, etc. |
|||
|
|
ioreg -lw0 | grep EDIDproduce any results at all? – patrix♦ Aug 17 '12 at 18:01ioreg -w0 -c IOHIDInterfacemight be a bit closer, but it's going to be tricky to do this with shell commands, which are typically designed to handle line-wise records, not ascii-art-tree records. – Ken Aug 17 '12 at 18:39