I had run a program that resulted in many more lines of output than my current terminal window width. As a result, I could only see partial results...is there any way to get the full output?
I am using the bash shell.
|
I had run a program that resulted in many more lines of output than my current terminal window width. As a result, I could only see partial results...is there any way to get the full output? I am using the bash shell. |
||||
|
|
|
You could send the output to a file:
You could then open up that file in any text editor and examine it at your leisure. Or, you could pipe the output directly to a program such as
|
|||||||||
|
|
In addition to which shell you are using, we need to know which terminal app you are using, for instance Gnome-terminal, or Konsole are the 2 popular ones in Linux. As mentioned by another answerer, SHIFT+PAGEUP is a common keystroke to scroll back through previous screens of terminal output. P.S. When you said "terminal window width" did you mean "terminal window height?" |
|||
|
|