See Everything In The Terminal/Command Prompt After Long Output

I'm new to ubuntu using the terminal to code some ruby.

Everytime I run this command it outputs like 600 lines of data that I need to analyze.

But when I try to scroll up to see everything alot of the output is cut off.

Is there any way to change the settings of the terminal or another command prompt program or any other options that I can use to take a look all of the data?


Solution 1:

Inside your Terminal Window, go to Edit | Profile Preferences, click on the Scrolling tab, and check the Unlimited checkbox underneath the Scrollback XXX lines row. Click Close and be happy.

Solution 2:

Run the command with

> command | less

It will only show you as many lines as it can fit on the screen, and then you can scroll down to read the rest.