Questions tagged [manpage]

A manpage is a piece of documentation (not just a single page) that comes with most programs installed on Ubuntu.This is invoked with the name of a program to call up a help manual with various sections detailing the operation of the program.

For more information, enter man man in the terminal or refer to the [Ubuntu manpages online][1].

[1]: http://manpages.ubuntu.com

NAME man - an interface to the on-line reference manuals

DESCRIPTION man is the system's manual pager. Each page argument given to man is normally the name of a program, utility or function. The manual page associated with each of these arguments is then found and displayed. A section, if provided, will direct man to look only in that section of the manual. The default action is to search in all of the available sections following a pre-defined order ("1 n l 8 3 2 3posix 3pm 3perl 5 4 9 6 7" by default, unless overridden by the SECTION directive in /etc/manpath.config), and to show only the first page found, even if page exists in several sections.

   The table below shows the section numbers of the manual followed by the
   types of pages they contain.

   1   Executable programs or shell commands
   2   System calls (functions provided by the kernel)
   3   Library calls (functions within program libraries)
   4   Special files (usually found in /dev)
   5   File formats and conventions eg /etc/passwd
   6   Games
   7   Miscellaneous  (including  macro  packages  and  conventions), e.g.
       man(7), groff(7)
   8   System administration commands (usually only for root)
   9   Kernel routines [Non standard]

   A manual page consists of several sections.
279 questions
178
votes
4 answers

How can I search within a manpage?

Is there a option to search within manpages?
NES
  • 33,935
121
votes
3 answers

What is the difference between "man" and "info" documentation?

Regarding man-pages and info help documentation: Why do two such similar sources of documentation exist? Sometimes a man-page is available and the info is not; or vice-versa. I haven't yet latched on to the rhyme and reason behind it. Maybe there…
Peter.O
  • 25,251
85
votes
6 answers

What is the bash command: `command`?

The command command has no manual entry but help displays as follows: $ help command command: command [-pVv] command [arg ...] Execute a simple command or display information about commands. Runs COMMAND with ARGS suppressing shell…
Pandya
  • 37,289
67
votes
4 answers

How do I manually install a man page file?

How do I install a man page file system-wide? For example, if I have a man page file examplecommand.1, how do I install it so that I can just type man examplecommand to view it?
Flimm
  • 44,031
63
votes
2 answers

How do I set PATH variables for all users on a server?

I just finished installing LaTeX for my company's Ubuntu server that we all SSH into to use. At the end of the install it says this: Add /usr/local/texlive/2010/texmf/doc/man to MANPATH, if not dynamically determined. Add…
60
votes
4 answers

How to make `man` work for shell builtin commands and keywords?

I use the man command all the time when I want to get information about a specific command. But this doesn't help me too much when that specific command is a shell builtin. For example: man cd returns: No manual entry for cd My question is: it is…
Radu Rădeanu
  • 174,089
  • 51
  • 332
  • 407
48
votes
4 answers

How do I make man pages open in a web browser?

How can I make manpages (from the man command) open in a web browser for easier navigation?
kiri
  • 28,986
42
votes
13 answers

Graphical user interface to view man page?

Are there any tools to view man pages in a GUI? I personally dislike the command line interface. It lacks easy scrolling, searching and so on. Is there any tool with some more intuitive user interface and features? Preferably for KDE.
38
votes
9 answers

How can I get help on terminal commands?

I often see things like read man xyz For more information read xyz's man page. see info xyz so I wonder: How can I get help on terminal commands generally? What exactly are these man and info pages? How can I find and view them?
dessert
  • 40,956
36
votes
2 answers

What is the difference between `man` and `man (#)`?

Just saw someone referencing man 7 regex on Stackoverflow. I tried man regex and got very similar output - there appear to be slight differences. So what is this magical number 7? Searching man 7 unix on Google gives me more mysterious results like…
34
votes
4 answers

How do I add a directory to MANPATH or INFOPATH?

I think I understand the instructions given in How to add a directory to the PATH? about adding directories to $PATH. But I don't understand how to add directories to $MANPATH or $INFOPATH. Also -- in googling around for help I have noticed that…
32
votes
4 answers

How to create a manpage?

I am packaging a program for ubuntu, And I am getting a lintian warning saying my binary needs a manpage. How does one go about creating a manpage for a program?
trampster
  • 11,792
30
votes
2 answers

What is the default PAGER used by man pages?

What is the default PAGER used by man pages. I,e what is the program runs the man pages? It look some like more or less. I'm sure it's not more since more doesn't support reverse backward.
Maythux
  • 87,123
26
votes
3 answers

"No manual entry for pthread" - could not find man page by name

I am new to Ubuntu, wanted to code for reader-writer block in Operating System, but when I fired the command man pthread it gave me an error no manual entry for pthread. What can be done to resolve the problem?
Barkha Dhamechai
  • 293
  • 2
  • 4
  • 7
26
votes
4 answers

Is there documentation for chown that is easier to understand?

I am relatively knew to Ubuntu and I want to learn about the chown command, so I tried to read the man chown but I find it very difficult to understand. Is there a document for this that is simpler and easier to understand?
1
2 3
18 19