Ask Your Question

How to scroll up in full text mode?

asked 2014-07-09 20:19:11 -0500

ahmadalli gravatar image

I'm noob in Linux and I didn't find any result in google.

When I switch to text mode via Ctrl + Alt + F2 I can't scroll up via Page up / Shift + Page up/ Alt + Page up/ ...

can you help me?

edit retag flag offensive close merge delete



Shift+Pg Up should work, however you cannot go past the login prompt. Do you want to do that? or you can't navigate through normal terminal window? (contents after login prompt).

hedayat gravatar imagehedayat ( 2014-07-10 05:57:26 -0500 )edit

3 Answers

Sort by » oldest newest most voted

answered 2014-07-10 01:01:45 -0500

Aleksandar Kostadinov gravatar image

Shift+PgUp/PgDown works for me. screen is also a nice option. By default you scroll with Ctrl+a and Esc, then move with the arrow keys up and down.

There are some nice screen options to allow the normal scroll. But it becomes not very useful if you have multiple windows inside screen and switch between them. These are some good options for .screenrc

startup_message off
wrap off
# define a bigger scrollback, default is 100 lines
defscrollback 5120
# To get screen to add lines to xterm's scrollback buffer, uncomment the
# following termcapinfo line which tells xterm to use the normal screen buffer
# (which has scrollback), not the alternate screen buffer.
termcapinfo xterm|xterms|xs|rxvt ti@:te@

btw you'll find it easier to launch a terminal program in your desktop graphical environment instead of switching to a text console. You'll be able to copy/paste with mouse, etc. Try copying text by simply selecting iwht mouse and then paste with middle click. Very useful.

edit flag offensive delete link more



I think the answer would be a little better if you also included tmux, byobu etc. They're almost the same as screen but with quite a few enhancements. :)

FranciscoD_ gravatar imageFranciscoD_ ( 2014-07-12 01:15:17 -0500 )edit

answered 2014-07-09 21:42:01 -0500

abadrinath gravatar image

updated 2014-07-12 01:33:38 -0500

Install screen using the command sudo yum install screen

Then, in the tty, screen -h N where N is the number of scrollback lines.

After that, do everything needed.

You'll be able to scroll using Shift + PgUp and Shift + PgDown.

edit flag offensive delete link more


@ahmadalli - Does it work?

abadrinath gravatar imageabadrinath ( 2014-07-12 01:43:02 -0500 )edit

Shift+PgUp/PgDown works withoutscreen

ILMostro gravatar imageILMostro ( 2014-07-12 02:20:54 -0500 )edit

@ILMostro - Not for the OP, but it works for me. However the buffer is tiny, so using my command, you can set it to 500 or 1000.

abadrinath gravatar imageabadrinath ( 2014-07-12 03:17:38 -0500 )edit

answered 2014-07-12 02:20:36 -0500

mattdm gravatar image

Shift PgUp/PgDn will work, but the buffer is small, and there's a _very_ significant limitation: if you switch to another virtual terminal, the buffer is lost.

For this reason, using screen (or tmux) is recommended (as in the other answers).

Alternately, if what you want to see is the boot log information, this is probably gone because of the terminal switching (or just because the buffer is small). But, you can get that with dmesg, or (more flexibly) by typing journalctl -b.

edit flag offensive delete link more


if you switch to another virtual terminal, the buffer is lost – This (very important) information is totally missing in the other answers!

rugk gravatar imagerugk ( 2019-02-26 17:57:48 -0500 )edit

Question Tools

1 follower


Asked: 2014-07-09 20:19:11 -0500

Seen: 3,385 times

Last updated: Jul 12 '14