Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

What is the shortcut key for scrolling inside a terminal?

If I hit the Up or Down arrow or PageUp or PageDown, it will only traverse through command history, not let me traverse the previous part displayed in the terminal.

Especially when I run Matlab in a terminal, I have the same problem.

My OS is Ubuntu.

share|improve this question

2 Answers 2

up vote 11 down vote accepted

Shift+PgUp/PgDn/Home/End will scroll in gnome-terminal and Terminal.

share|improve this answer
    
+1 Thanks! How about making up/down arrow keys to work? –  Tim Mar 15 '12 at 11:17
    
Are Shift + uparrow and Shift + downarrow supposed not to work? –  Tim Mar 15 '12 at 11:29
    
But be sure you don't have them bound as hotkeys. Also, check the terminal preferences. –  Ignacio Vazquez-Abrams Mar 15 '12 at 11:31
    
I've never run across any terminal which didnt support at least the SHIFT PGUP/PGDN combo. The actual console (tty1, tty2, etc) even supports it. –  Patrick Mar 15 '12 at 22:37

Ctrl+Shift+Up/Down

for gnome-terminal single line up/down

share|improve this answer

Your Answer

 
discard

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.