LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   closing man pages in terminal (https://www.linuxquestions.org/questions/linux-newbie-8/closing-man-pages-in-terminal-736007/)

PClOStinspace 06-27-2009 08:38 AM

closing man pages in terminal
 
This is probably a really dumb question, but, I have been in a terminal and want to scroll back to look at some previous commands to figure out where I have gone wrong. My problem is that I did 'man make' to see how to use the make command as it was not working for me.

I've now read what I need, how do I exit from the manual and return to cli??

bathory 06-27-2009 08:40 AM

Press "q" to exit man.

bsdunix 06-27-2009 08:43 AM

Typically pressing the "q" button will get you out of the man page and back to the shell prompt.

While viewing the man page, you can press shift-up and shift-down to scroll up and down through the man page. Pressing the "b" button will also scroll back up and pressing "space bar" will move forward.

PClOStinspace 06-27-2009 08:46 AM

I knew it would be simple, thanks guys!!

syg00 06-27-2009 08:56 AM

Strictly speaking is the pager program (probably less) rather than "man".

If lost anytime (in *nix), try "q", <Ctrl>-c, <Ctrl>-d, ...


All times are GMT -5. The time now is 03:55 PM.