scrot 1.7 Command-line screen capture utility for X Window System

Scrot saves a screenshot of a full screen, a window or a part of the screen selected by mouse.