If I'm working in a terminal window in Linux, is there a keyboard shortcut I can use to select output displayed on previous lines? If I select something with the mouse I can copy using ctrl-shift-c, but is there a way to select without using the mouse at all. I'm using either gnome terminal or kde konsole in ubuntu desktop.
For example I often need to copy results from a mysql query and then google them.