I am getting started using my Raspberry Pi. Sometimes I run some command where the console output scrolls off the screen too fast for me to read. For example, installing some library/package from source, I'd like to be able to review the output. However, I can't figure out how to scroll up to view the previous output. The up arrow is obviously not working. Is there a special key command, or different way to view the console output?
Asked
Active
Viewed 7.2k times
2 Answers
24
Shift + PageUp or Shift + PageDown keys.

eSe
- 241
- 1
- 2
-
1You can also use scroll-lock (when using a tty) to pause the text scrolling past. – Fred May 04 '14 at 18:06
12
Pipe the output of the command to less
:
cmd arg0 arg1 | less
In less
, you can scroll up and down intuitively with the arrow keys. Use the Q key (for Quit) to exit less
and return to your prompt.
https://stackoverflow.com/questions/15255070/how-do-you-scroll-up-down-on-linux-server-terminal

Carl Smith
- 113
- 5

Anders Andersson
- 121
- 2