[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Exiting man pages display



On Wed, 29 Sep 1999, Dom Bekarge wrote:

> How does one exit a man page gracefully?
> 
> 
> I just installed RedHat Linux 6 (Hedwig) and logged in as root. I used
> character mode, and did not use startx to launch a graphical shell.
> 
> Since I am a Unix novice, I began to read some man pages about
> some of the command line commands like ls, etc.
> 
> I typed
> 
> man ls
> 
> and got the man help screens regarding the ls command.
> 
> The screens moved forward when I pressed the Enter or Spacebar keys.
> 
> At the end of the man pages for ls, the bottom line of the screen showed
> 
> (EXIT)
> 
> in reverse video highlight.

To 'quit, you should just type;

 q

> Some experimentation showed two ways to exit the man pages:
> 
> 1.  Ctrl+Alt+Del, but this shuts down the system.
> 2.  Ctrl+Z
> 
> After reading several different man pages, I noticed that Ctrl+Z
> would return me to the command prompt, but a counter would appear
> like
> 
> [1]+
> 
> and the next time
> 
> [2]+
> 
> and so on.


<CTRL><Z> is used to stop a job.  You can then:

See what jobs are in the background by typing:

  jobs

You can kill it with
 
  kill %#       where   '#' is the number in [#] above.

You can also put a job into the background (which you would NOT want
to do for a man page, but you might want to do it with, for example,
netscape)

to put a job in the background, type

 bg

-- 
denice.deatrich @ NospaM.epfl.ch, EPFL - LCAV / LCM    PH: +41 (21) 693-5643
                  (If replying by email please remove 'NospaM' from address.)
<*> This moment's fortune cookie:
The notion of a "record" is an obsolete remnant of the days of the 80-column
card.
		-- Dennis M. Ritchie



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]