Shortcut key for scrolling inside a terminal

27,670

Solution 1

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

Solution 2

Ctrl+Shift+Up/Down

for gnome-terminal single line up/down

Share:
27,670
Tim
Author by

Tim

Elitists are oppressive, anti-intellectual, ultra-conservative, and cancerous to the society, environment, and humanity. Please help make Stack Exchange a better place. Expose elite supremacy, elitist brutality, and moderation injustice to https://stackoverflow.com/contact (complicit community managers), in comments, to meta, outside Stack Exchange, and by legal actions. Push back and don't let them normalize their behaviors. Changes always happen from the bottom up. Thank you very much! Just a curious self learner. Almost always upvote replies. Thanks for enlightenment! Meanwhile, Corruption and abuses have been rampantly coming from elitists. Supportive comments have been removed and attacks are kept to control the direction of discourse. Outright vicious comments have been removed only to conceal atrocities. Systematic discrimination has been made into policies. Countless users have been harassed, persecuted, and suffocated. Q&A sites are for everyone to learn and grow, not for elitists to indulge abusive oppression, and cover up for each other. https://softwareengineering.stackexchange.com/posts/419086/revisions https://math.meta.stackexchange.com/q/32539/ (https://i.stack.imgur.com/4knYh.png) and https://math.meta.stackexchange.com/q/32548/ (https://i.stack.imgur.com/9gaZ2.png) https://meta.stackexchange.com/posts/353417/timeline (The moderators defended continuous harassment comments showing no reading and understanding of my post) https://cs.stackexchange.com/posts/125651/timeline (a PLT academic had trouble with the books I am reading and disparaged my self learning posts, and a moderator with long abusive history added more insults.) https://stackoverflow.com/posts/61679659/revisions (homework libels) Much more that have happened.

Updated on September 18, 2022

Comments

  • Tim
    Tim over 1 year

    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.

  • Tim
    Tim about 12 years
    +1 Thanks! How about making up/down arrow keys to work?
  • Tim
    Tim about 12 years
    Are Shift + uparrow and Shift + downarrow supposed not to work?
  • Ignacio Vazquez-Abrams
    Ignacio Vazquez-Abrams about 12 years
    But be sure you don't have them bound as hotkeys. Also, check the terminal preferences.
  • phemmer
    phemmer about 12 years
    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.
  • Radon Rosborough
    Radon Rosborough over 2 years
    Unfortunately, this can't be customized: gitlab.gnome.org/GNOME/gnome-terminal/-/issues/6777