30

I have a running log, it outputs a lot to the terminal. Unfortunately, when I try to scroll up and view older output, it appears there is a limit. And I am unable to scroll past a certain point. On the Mac, the terminal allows you to scroll up to the start of the session. Is there a way to do this in ubuntu terminal?

JohnMerlino
  • 6,879
  • 24
  • 53
  • 69
  • 1
    `konsole`, the terminal program from KDE, has a setting to control the number of "scrollback" lines it remembers, including Unlimited setting. I suppose Gnome terminal should have something similar but I can't check at the moment. – Sergey Dec 11 '12 at 00:57

4 Answers4

34

Go to Edit -> Profile Preference -> Scrolling Tab

Now just tick the Unlimited box below Scrollback.

You will now be able to see your entire output.

enter image description here

Hashken
  • 6,212
  • 5
  • 33
  • 49
16

Since the question is now over three years old, I just want to post an update:

In Ubuntu 15.10 it is pretty similar to the accepted answer, there it looks the following:

  • Go to Edit -> Profile Preference -> Scrolling Tab.

  • Untick the box beside "Limit scrollback to:".

Disable "Limit scrollback to:"

Markus Weninger
  • 395
  • 1
  • 4
  • 14
2

Supposedly Gnome terminal has an option for that, please check Edit->Profiles->Default->Edit->Scrolling->Scrollback

Sergey
  • 43,339
  • 13
  • 106
  • 107
1

The other answers here are correct... unless you use the clear command. Sometime after Ubuntu 12.04, running clear also prevented scrollback, even if you have the terminal set to unlimited scrolling. This can be very frustrating.

For a discussion and workarounds, see How to stop `clear` from clearing scrollback buffer

Staring Frog
  • 232
  • 2
  • 11