Ubuntu – How to jump to the end of a ‘man’ page

command linemanpage

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?

Best Answer

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:

JUMPING

  g  <  ESC-<       *  Go to first line in file (or line N).
  G  >  ESC->       *  Go to last line in file (or line N).
  p  %              *  Go to beginning of file (or N percent into file).

Another good idea would be to press the Home or the End keys. :)

Good luck!

Related Question