Solved

how to prevent screen from scroll when using --help

Posted on 2003-11-24
6
306 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

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…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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.
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.

770 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