I have problem with
terminal .. I run a command but it took a time to be finish and it printed a lot of lines in terminal but when I came back to first line by mouse I got blank and empty screen .. How can I make
terminal save the lines exist ?
There might be some bugs with your terminal emulator (
gnome-terminal I assume), but if your goal is to read that data, you don't need to rely on terminal's scroll. You could always try a different terminal emulator, but all you need is to do something with that text.
We can redirect that stream of data to a file (
>will capture even error output):
my_command_with_long_output > /path/to/file
Then read it with some text editor of choice.
You can also redirect it directly to a pager like
my_command_with_long_output | less
less's scrolling (j/k, Ctrl+d/u).
The point is that the terminal emulator doesn't even need to be able to scroll for you to see long output.