LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-27-2007, 08:34 PM   #1
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Rep: Reputation: 33
How to see all output of command in terminal


Can someone tell me how to look at the beginning of the output from a command in the terminal? Whenever a command generates a lot of text, I can only scroll back part of the way in the terminal.

Example: Using the command hwinfo --all I get 79 entries but I can only scroll back to number 22. How do I get to the beginning?
 
Old 06-27-2007, 08:38 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
The easiest way would probably be to pipe the output to a pager (more, less, most) and scroll through it screen by screen. For example:
Code:
/path/to/some/command | less
You could also redirect the output to a file and look at it with your text editor:
Code:
/path/to/some/command > /path/to/some/output.log
You can probably edit the buffer size for your terminal as well - but I don't remember what is required for that...

Last edited by gilead; 06-27-2007 at 08:39 PM.
 
Old 06-27-2007, 09:03 PM   #3
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Original Poster
Rep: Reputation: 33
OK, Thanks.
 
  


Reply



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
X Output to Terminal Window? PantherX Linux - Software 2 10-12-2006 12:09 PM
Redirect terminal output to file AND terminal shan Linux - General 3 09-29-2006 08:36 AM
Squid Output to the Terminal? mattsthe2 Linux - Networking 5 10-27-2005 02:02 PM
Redirecting output to a command-line argument of another command madiyaan Linux - Newbie 1 02-19-2005 04:35 PM
how to redirect the output of a terminal? cpukiller Linux - Networking 5 11-10-2004 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:34 PM.

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