18

Is there a keyboard command to scroll to the very top of the terminal buffer?

The closest command I could find is Shift + PageUp, which only scrolls up one page of text at a time.

2 Answers 2

20

At least for gnome-terminal, SHIFT+HOME should do it (and SHIFT+END to return to the bottom of the buffer).

2
  • +1; also works for terminator.
    – Sparhawk
    Feb 18, 2015 at 9:36
  • also works for mate-terminal
    – N0rbert
    May 4, 2019 at 13:30
0

I assume that you are referring to a session like an ssh/putty. In that case, AFAIK, no. As an aside, CTRL-ALT PgUp or PgDn will let you scroll one line at a time.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .