Taking screenshots from the command line is made easy, thanks to a utility included in Mac OS X called screencapture. Here’s how to use it: screencapture test.jpg The screen capture will then appear in the directory that the command was executed. There are more advanced features to the screencapture utility though, here’s a few examples. Open the screencapture in Preview immediately after being ta
