LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 08-18-2005, 04:32 AM   #1
loverofpizza
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 2

Rep: Reputation: 0
yum list too big for terminal


I'm a real newbie here. This is my first post to any site for anything, (I hope this works).
My problem is with the yum list being too big for the terminal.
When I type in "yum list available" about 200 or so lines of text flash before me in a matter of a few seconds. The scroll bar only allows me to scroll back so far (somewhere in the "Rs") so anything yum showed me that came before the "Rs" I get to see for a whopping millisecond or so.
Is there some way I can slow\pause the list or have it display one page at a time? I've looked in the man pages and have either missed it or am out of luck because I didn't see anything that could help. I'm sure there's a simple command that would help but I know very few commands\arguments.
Any help would be greatly appreciated.
 
Old 08-18-2005, 04:47 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Hi, and welcome to LQ!

Code:
yum list available | less
should do the trick ... less is a so called "paginator",
it will aloow you to scroll back and forth through the
output. a single letter q will quit it.


Cheers,
Tink
 
Old 08-18-2005, 04:58 AM   #3
loverofpizza
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 2

Original Poster
Rep: Reputation: 0
Tank You

Thank you, it worked like charm. I suspect I will be able to use this with other list that are too big.
 
Old 08-18-2005, 01:27 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Most welcome, and yep - you just discovered the
beauty of pipes in Unix/Linux :} ... they allow you to
chain varied processes together quite effectively.

Btw, less can do many other things, too, like searching
forth and back, allowing to switch into edit mode, ...

Have a read of
man less


Cheers,
Tink
 
Old 08-18-2005, 02:12 PM   #5
bushidozen
Member
 
Registered: Oct 2004
Posts: 215

Rep: Reputation: 30
If for some reason you wish to save a list of what yum displays in a text file, you can type:
Code:
 yum list available > filename.txt
Doing this will save the output as a text file that you can transfer or read later.
 
Old 08-18-2005, 02:34 PM   #6
greauxe
LQ Newbie
 
Registered: Jul 2005
Posts: 19

Rep: Reputation: 0
How about "yum list available | grep myfilename"

to find a more specific file?
 
  


Reply


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
Yum from terminal zillah Linux - Software 7 03-24-2005 01:31 PM
plz write the sources.list and yum.conf fot this server shams Fedora 1 11-21-2004 02:36 PM
viewing all of yum list ben_build#2.1.0 Fedora 2 05-18-2004 10:06 AM
Big Problem! display and terminal control (!~CoW~!) Linux - General 2 11-17-2003 09:55 PM
This might sound strange, but I need a big list of dirty words. Travis86 Programming 12 07-17-2003 11:06 PM


All times are GMT -5. The time now is 07:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration