6

I know there is a simple unix command that allows you to view things from the top and/or allows you to scroll indefinitely toward the top. Not sure what to call it, so it's difficult to google. Thanks to anyone who can explain how to do either one for me

4
  • 3
    Scrollback is a function of the terminal emulator bash runs in, not bash itself. It would help if you posted which one you are using (gnome-terminal, xterm, konsole, rxvt, etc). Pipe output to less or any similar pager if you want to be able to scroll up independent of what your terminal can do. Commented Oct 10, 2011 at 3:32
  • Lol thanks jw013. But I'm not even sure what terminal I am using! (currently I have ubuntu 11.04 installed on my computer, but I'm running it in 'classic mode' which I think using Gnome-3 instead of Unity...?) Commented Oct 10, 2011 at 3:34
  • Yes, 'less' was definitely what I was looking for! However, do you know how to go directly to the bottom in less? (for instance, if the information you are viewing is really really long) Commented Oct 10, 2011 at 3:37
  • Try pressing G. Commented Oct 10, 2011 at 4:05

2 Answers 2

6

I believe Shift+PgUp/PgDn is the binding for wandering the scrollback under the default terminal in recent Ubuntu releases.

1
  • 1
    I don't think that was quite it :( Commented Oct 10, 2011 at 5:15
3

Terminal multiplexers screen or tmux both have this scrollback feature.

1
  • What about when you're in the installer of Arch? Commented Jan 7, 2022 at 21:25

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.