Adjust screen brightness from command line
Here’s a handy little command line utility that lets you set the screen brightness from the command line. It’s precompiled but the source code is available here if you are interested to see it.
Once you have the precompiled binary in your path, just type something between brightness 0 (min) and 1 (max) to set it. Handy for us who live in the Terminal!
Want to try it yourself? Download now (tar gz download link)
This fun little find is via MattDanger.net.
If you know of another way of adjusting the brightness from the command line, let us know in the comments.