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 Answers2

20

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

steeldriver
  • 143,099
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.