13

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?

closed as off-topic by Jivings May 3 '14 at 15:53

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be specific to the Raspberry Pi within the scope defined in the help center." – Jivings
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 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
17

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
5

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

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