Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do "page up" while browsing unix "man" command pages? [closed]

Tags:

unix

I know I can do a "page down" using keyboard "spacebar" while browsing "man" command output on unix terminal window. Is there a corresponding keyboard shortcut for "page up"? To be generic, is there a list of keyboard shortcuts for man command? I did "man man" with no luck.

like image 942
Bipul Avatar asked Jun 14 '12 05:06

Bipul


1 Answers

It depends on the pager that the man command uses on your system.

If it is less (as in 'less is more'), then you can go backwards. (With less, b goes back a page, amongst other options for doing that; so does Control-B. The h command gives me several pages full of options that I seldom or never use.)

If the pager is more (as in ... oh, there isn't an inverse jibe), then the answer may well be 'No, you cannot go backwards'.

On Mac OS X (10.7.4), the man man command cites the environment variables MANPAGER and HTMLPAGER that can be set; the default MANPAGER is less.

like image 86
Jonathan Leffler Avatar answered Sep 22 '22 05:09

Jonathan Leffler