Sometimes you just need a quick and easy way to take a screenshot. Here’s a helpful terminal command to capture and process a screenshot.

First install ImageMagick

sudo apt-get install imagemagick

You can then take a screenshot and save it as Screenshot.png by typing

import -window root Screenshot.png

To use your mouse to capture only a part of the screen, type

import Screenshot.png

Lets say you want to wait 10 seconds, then take the screenshot.  You would type

sleep 10; import -window root Screenshot.png

Or if you want to resize the screenshot to a width of 500px

import -window root -resize 500 AnotherScreenshot.png

There are tons of options to play with, all of which can be found on the ImageMagick website.

Photo Credit: Horia Varlan