This activates scrollback mode on GNU Screen, allowing users to move through the terminal easily using the keyboard. If your keyboard does not have a designated Scroll Lock key, try using the command Ctrl+A. To see if this is something your terminal offers, try hitting the Scroll Lock key on your keyboard. Some terminals also offer a designated “scroll mode,” allowing users to easily navigate using the arrow keys when active. These options may be modifiable from within the terminal’s configuration file, but this will depend entirely on the terminal being used. Keep in mind, some terminals don’t allow scrolling at all, or only keep a very limited history of previous inputs. This same alternate pattern can be used to jump whole pages at a time using Ctrl+Shift+PageUp or Ctrl+Shift+PageDown. The other common method for moving up and down a line at a time involves using Ctrl+Shift+UpArrow or Ctrl+Shift+DownArrow. While determining exactly which keyboard shortcuts work for your terminal requires you to know which terminal you’re running, there is a secondary method which is quite common as well. If these commands don’t work, it’s likely your terminal is using different keybindings. To jump an entire page at a time, try Shift+PageUp or Shift+PageDown. For most users, you should be able to scroll up and down, one line at a time using Shift+UpArrow or Shift+DownArrow.
Regardless of why, if you’re looking for how to scroll up and down in the Linux terminal, then read on to learn several methods for easily navigating the Linux terminal using your keyboard.Īs with many things in Linux, the ability to scroll up and down within your terminal depends on the specific terminal you are using. When you don’t need this previous information, you can always clear the terminal, but what if you realize later that you’ve lost something important? Maybe you’re troubleshooting an issue, or looking to repeat a previously entered command. Because recent lines remain visible, as your inputs increase and your outputs grow longer, your screen can quickly grow unrecognizable, buried in a wall of white text. If you’re a new Linux user trying to navigate the lines of inputs and outputs filling your terminal, it might be a bit overwhelming.