Linux(Ubuntu) Terminal-how to view previous pages not visible anymore
When you scroll up, say to see a log, the first portion of it will not be visible since the terminal only supports a limited no. of lines. So if you want to scroll up and be able to see everything, at least a few pages up, how do you do it?
Solution 1:
Use Shift+Page Up and Shift+Page Down.
Solution 2:
Piping the output to a pager like the following is a better choice:
command | less
command | more