screenbrightness is an OS X command line utility for changing screen brightness.
It also lets you retrieve the current brightness settings.
