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?

  • Hi Andrew, I'm putting this question on-hold as it isn't specific to the Raspberry Pi and is more of a 'generic' Linux question. For the future, SuperUser.SE would probably be the best place to ask. – Jivings May 3 '14 at 15:55

Shift + PageUp or Shift + PageDown keys.

  • 1
    You can also use scroll-lock (when using a tty) to pause the text scrolling past. – Fred May 4 '14 at 18:06

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.


Not the answer you're looking for? Browse other questions tagged or ask your own question.