Solved

how to prevent screen from scroll when using --help

Posted on 2003-11-24
6
324 Views
Last Modified: 2013-11-13
Each time I type rpm --help the whole help display will scroll up the screen. Is there a way in the command line to let the help display to stop at one screen at a time?
0
Comment
Question by:ghgan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 18

Expert Comment

by:liddler
ID: 9810684
rpm --help|more
0
 
LVL 9

Expert Comment

by:majorwoo
ID: 9812445
whenever anything does that to you, you can use more

rpm --help | more

which will show you the output, one page at a time.  Press spacebar to scroll downward...
0
 
LVL 5

Expert Comment

by:willy134
ID: 9812572
luckily on most linux systems more is aliased or linked to less if it is not I would use

rpm --help | less

less is more!

you can use the vi keys (hjkl) to move around the document and you can do searches with the / key

but as I said more is usually the same as less on linux
0
Stressed Out?

Watch some penguins on the livecam!

 
LVL 17

Expert Comment

by:owensleftfoot
ID: 9813186
Another trick you can use is to hold shift and press pageup - this will scroll back through the console buffer.
0
 

Author Comment

by:ghgan
ID: 9828941
is the command | more limited only to rpm or also can be use for other type of command line program
0
 
LVL 18

Accepted Solution

by:
liddler earned 50 total points
ID: 9830397
Any command at all - find, ls tail etc
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question