Ubuntu – How to get the terminal text those are overflowed during command execution

command linegnome-terminal

Some commands have very large output texts in terminal. Sometimes some lines of texts goes out of the terminal during command execution. How to get that texts?

Update:
I mean the terminal that comes with Ubuntu(12.04).

Best Answer

When typing your command pipe it into "less" this allows you to scroll with the up/down arrows for example: ls -l|less Assuming you are talking about the standard bash terminal that is, which you probably are.