The Computer Oracle

How can I get the current screen resolution from the command line on OS X?

Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Forest of Spells Looping

--

Chapters
00:00 Question
00:24 Accepted answer (Score 81)
00:34 Answer 2 (Score 16)
01:01 Answer 3 (Score 4)
01:17 Answer 4 (Score 2)
02:08 Thank you

--

Full question
https://superuser.com/questions/447295/h...

Question links:
[image]: https://i.stack.imgur.com/FmmTx.jpg

Answer 1 links:
[here]: http://daringfireball.net/2006/12/displa...

Answer 2 links:
[screenresolution]: https://github.com/jhford/screenresoluti...

Answer 3 links:
[Python has come bundled with macOS since Jaguar]: https://opensource.apple.com/release/mac...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#macos #mac #commandline #terminal #resolution

#avk47