Solved

how to prevent screen from scroll when using --help

Posted on 2003-11-24
6
321 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
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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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