Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How could I scroll up and down the bash shell window (without the mouse or scroll bars, just using the keyboard)?

Shift+PageUp and Shift+PageDown acts like page up and page down.

But how could one scroll just one line up or down? Shift+Up and Shift+Down doesn't work.

share|improve this question
up vote 1 down vote accepted

Gnome terminal (and others) uses ctrl+shift+up and ctrl+shift+down to scroll one row.
But ctrl+shift should work in most other terminal emulators (like xterm or urxvt if not intercepted by windows managers or stuff.

share|improve this answer
Indeed, Left Ctrl + Left/Right Shift + Up/Down does the trick! (It doesn't work for me with Right Ctrl.) – Misha Moroshko Oct 28 '11 at 13:20

If using iTerm2, you can see all shortcuts in Preferences Panel.

Move one line up in scrollback buffer

Move one line down in scrollback buffer

You can also add your own shortcuts. I regularly use these 2 for example:

Move one page up in scrollback buffer

Move one page down in scrollback buffer

And that's how it looks like:

enter image description here

share|improve this answer

Just tried this myself on Ubuntu 12.10. Scrolling back linewise works using ctrl+shift (both, for left and right buttons) and up and down keys of the keypad with numlock activated (meaning when you don't use a modifier key, numbers will be typed)! It does not work for the normal up and down keys or keypad keys with numlock deactivated.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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