When I open up the manual for a command (
man wget for example) the manual can be many hundreds of lines long. How can I get:
- to the end of the manual quickly and
- back to my terminal prompt?
When inside of the document viewer through the man command, press h or H in order to view the man's help.
From man's help screen:
Another good idea would be to press the Home or the End keys. :)
The normal ways to do this have been suggested (see @geppettvs-dconstanzo's answer). This leaves numerous unnatural, wrong, and bad ways.
So I'll deal with a couple of those.
First, you don't have to read the man pages from a terminal (even though it will make you a better person). You can read them in html, for instance.
You can generate the html yourself from the sources on your system, but it's easier to go to manpages.ubuntu.com .
Here's the hefty
Here's a hack that can actually be useful : use
Least usefully, most trivally:
might be useful :
More useful (if contrived):
Of course, this is what I'd do:
(Although you might start out reading
Some handy easy-to-remember less (and thus man) commands:
Hope that helps (: