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.4k times
2 Answers
13
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 Younger
- 113
- 5
Anders Andersson
- 131
- 2