-   Linux - Newbie (
-   -   To properly exit man pages (

grautu 08-24-2006 05:09 PM

To properly exit man pages
I would be interested to know a keyboard shortcut for properly exiting man page files. I do not assume using any X terminal, any console under X or mouse anyway: just thinking of a pure shell session. Clearly Ctrl+Z is not a good choice, though it does work to some extent.
Could anybody please help me?

pljvaldez 08-24-2006 05:16 PM


This message is too short! :D

timothyb89 08-24-2006 05:24 PM

Q is the esieset way to do it, but Control+C works too.

grautu 08-24-2006 08:02 PM

Q is OK but Ctrl+C always failed in my case.

zanier 08-18-2012 04:17 AM

CTRL+C doesn't work on my machine :hattip: q is the fastest way.
CTRL+V doesn't work too:confused: i really need this shortcut ...........

cynwulf 08-18-2012 05:31 AM

q is the correct way. At the bottom of man pages there is a footer containing the wisdom: "(press h for help or q to quit)"

For more info


$ man man

David the H. 08-18-2012 07:04 AM

man doesn't display the man pages itself, it opens up them up in the default pager program set in your shell (unless told to do otherwise). This is nearly always less in most Linux distributions.

Read man man and man less for details on their operation.

m.a.l.'s pa 08-18-2012 07:07 AM

Since man pages are displayed by less, you can type h from within a man page for the "summary of less commands," where you'll find:


q  :q  Q  :Q  ZZ    Exit.

All times are GMT -5. The time now is 05:59 AM.