1. Overview

Scrolling in the Linux console is a critical concept for an administrator. For instance, the output might be multiple lines which can be challenging to read through at times. In this case, scrolling can help in clearing the console for clarity. Additionally, we can check for previously run commands. Further, we can use this concept to review the contents of the terminal.

In this tutorial, we’ll discuss the different ways to scroll on the Linux console.

2. Using Keyboard Shortcuts

We’re going to concentrate on scrolling up and down using keyboard shortcuts. In this case, we can choose to scroll through the output either from one page to another or one line at a time based on preference.

First, let’s learn how to scroll up and down one line at a time. So, to move up, we’ll press Ctrl + Shift  + UpArrow keys. To move down, we’ll use Ctrl + Shift  + DownArrow keys.

Next, let’s scroll up and down one page at a time. We’ll press the Shift + PageUp keys for scrolling up and the Shift + PageDown keys for scrolling down on the Linux console.

Also, let’s determine how to return to our current position. We achieve this with the help of the Ctrl + End keyboard shortcut, which helps us scroll back to the current position of our cursor in the console.

3. Conclusion

In this article, we’ve discussed a few keyboard shortcuts useful in scrolling on the Linux console. With this knowledge, we can easily move around the Linux console.

Comments are closed on this article!