Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-17-2015, 09:13 AM   #1
Registered: Mar 2014
Posts: 437

Rep: Reputation: Disabled
Terminal output is too large!!

Problems, problems, problems... My OS is Uuntu 14.04. While running a.out file generated by g++ compiler I realized that a small portion thereof is out of the upper edge of the terminal. I can handle it by changing the source code, no problem, by reducing the output expected, but I still wonder is there is a way to increase the volume of what is printed?

Thanks, - A.

Last edited by AlexBB; 01-17-2015 at 01:35 PM.
Old 01-17-2015, 11:24 AM   #2
LQ Guru
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 8,993

Rep: Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623Reputation: 2623
I do not really understand what do you mean by "increase the volume of what is printed". Do you want to change the size of the characters, or size of the terminal window or ???
Old 01-17-2015, 11:31 AM   #3
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
You can use Shift-PageUp to view pages gone up.

And you can output messages to a file. Using ./a.out > out.log

Or you can use more or less command. ./a.out | less
1 members found this post helpful.
Old 01-17-2015, 01:35 PM   #4
Registered: Mar 2014
Posts: 437

Original Poster
Rep: Reputation: Disabled
veerain thanks. Inputting to a file will be the solution.
Old 01-18-2015, 07:27 AM   #5
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 822

Rep: Reputation: 237Reputation: 237Reputation: 237
If you are using a terminal emulator in X you should also be able to simply scroll up with the scroll bar on the sides or the mousewheel. Most terminal emulators can be customised, so if you don't see scrollbars look in the settings to activate them. Typically you can also set the number of scrollback lines. This is the number of lines that you can scroll back before you get to the "top".

If you can't find it post which terminal emulator you are using to get more detailed instructions.
Old 01-18-2015, 07:22 PM   #6
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
Another option is to pipe the output into a pager like more or less
Old 01-19-2015, 09:27 AM   #7
LQ Newbie
Registered: Jan 2015
Posts: 8

Rep: Reputation: Disabled
Originally Posted by veerain View Post
You can use Shift-PageUp to view pages gone up.

And you can output messages to a file. Using ./a.out > out.log

Or you can use more or less command. ./a.out | less
This is the very question I wan to ask. Oh,it is great, I never know it. Thank you very much. shift+pageup


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ls -lh returns wrong output on large files Jaman42 Programming 5 04-18-2014 10:17 AM
Piping terminal output to another terminal Cyniikal Linux - Newbie 3 11-29-2011 02:51 PM
[SOLVED] Desktop / Laptop Output to Large Screen TV MBA Whore Linux - Hardware 5 06-24-2009 05:49 PM
Redirect terminal output to file AND terminal shan Linux - General 3 09-29-2006 08:36 AM
default terminal (on startup) too large... samills70 Slackware 5 04-04-2005 09:21 AM

All times are GMT -5. The time now is 08:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration