Created
May 29, 2009 20:30
-
-
Save braveulysses/120198 to your computer and use it in GitHub Desktop.
Gets the model number of your MacBook's display panel.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Get the model number of your MacBook's LCD panel. | |
# Thanks, Ars Technica! | |
ioreg -lw0 | grep IODisplayEDID | sed "/[^<]*</s///" | xxd -p -r | strings -6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment