See Everything In The Terminal/Command Prompt After Long Output
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.
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.