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.
At least for gnome-terminal
, SHIFT+HOME should do it (and SHIFT+END to return to the bottom of the buffer).
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.