how to prevent screen from scroll when using --help

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?
ghganAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

liddlerCommented:
rpm --help|more
0
majorwooCommented:
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
willy134Commented:
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
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

owensleftfootCommented:
Another trick you can use is to hold shift and press pageup - this will scroll back through the console buffer.
0
ghganAuthor Commented:
is the command | more limited only to rpm or also can be use for other type of command line program
0
liddlerCommented:
Any command at all - find, ls tail etc
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Installation

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.