LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2009, 08:38 AM   #1
PClOStinspace
Member
 
Registered: Jun 2008
Location: Bracknell, UK
Distribution: Ubuntu, mostly!
Posts: 161

Rep: Reputation: 20
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??
 
Old 06-27-2009, 08:40 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Press "q" to exit man.
 
1 members found this post helpful.
Old 06-27-2009, 08:43 AM   #3
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
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.

Last edited by bsdunix; 06-27-2009 at 08:49 AM. Reason: spelling
 
1 members found this post helpful.
Old 06-27-2009, 08:46 AM   #4
PClOStinspace
Member
 
Registered: Jun 2008
Location: Bracknell, UK
Distribution: Ubuntu, mostly!
Posts: 161

Original Poster
Rep: Reputation: 20
I knew it would be simple, thanks guys!!
 
Old 06-27-2009, 08:56 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Strictly speaking is the pager program (probably less) rather than "man".

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
man pages q. jnusa Linux - Software 6 02-03-2006 08:40 AM
C man pages sono2 Programming 4 09-12-2005 01:24 AM
C man pages sono2 Linux - General 1 09-09-2005 10:36 AM
What do you mean by MAN pages? inspectreo Linux - Newbie 2 05-08-2005 02:12 PM
Exiting man pages in terminal bad_ronald Linux - Newbie 2 08-27-2004 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration