February 07, 2013, 11:41 AM — Here's how you can take a screenshot of the terminal output in text mode in Ubuntu.
1. Open a terminal window.
2. Type in the following command then hit Enter.
sudo apt-get install fbcat
3. Take a screenshot using this command:
sudo fbcat > image.ppm
For more, see the original article at the link below.