FACTOID # 166: Most households in Europe and North America contain fewer than three people.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > Man page

Almost all substantial UNIX and Unix-like operating systems have extensive documentation available as an electronic manual, split into multiple sections called "man pages" (short for "manual pages" and based on the command used to display them). Each page in a "man page" collection is a self-contained document with independent copyright status.


To read a page from the manual, one can use the command


$ man [<section>] <page_name>


at a shell prompt, e.g. "man ftp" (the section number can usually be omitted). Pages are traditionally referred to using the notation "page_name(section)", e.g. ftp(1).


The section number is used to allow a specific manual page to be chosen when there are multiple manual pages with the same name. This can occur when the names of system calls, user commands, or macro packages conflict. Two examples are man(1) and man(7), or exit(1) and exit(3).


At the time of its development in the 1970's, the availability of online documentation through the manual page system was regarded as a great advance. However, the format of a single page for each application is unsuitable for complex, interactive applications, and the formatting facilities provided for man pages are relatively unsophisticated, not supporting the inclusion of graphics for screen shots, for instance. As applications became more complex, and computer users became less tolerant of poor documentation, the man page system was shown to be inadequate for many purposes and successors began to be developed.


Virtually all Unix variants continue to support man pages, but for many programs they are no longer the primary form of online documentation and help. An early attempt to replace them was the GNU project's "info" system, a primitive hypertext system. Most Unix GUI applications (partiuclarly those built using the GNOME and KDE development environments), and many others, now provide end-user documentation in HTML and include embedded HTML viewers for viewing the help within the application.


On Microsoft Windows man pages can be viewed using the WinElvis editor.


Manual sections

The manual is generally split into eight numbered sections, organised as follows:

Section Description
1 General commands
2 Low-level system calls
3 C library functions
4 Special files (usually devices, those found in /dev)
5 File formats and conventions
6 Games
7 Miscellanea
8 System administration and associated commands

On some systems some of three other sections are available:

Section Description
9 Kernel routines (obsolete)
n Tcl/Tk keywords
x The X Window System

The manual pages are stored as nroff source files. Most versions of man cache the formatted versions of the last several pages viewed.


For an example of a man page see chmod.


References

This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.

External links

  • On-line UNIX manual pages (http://unixhelp.ed.ac.uk/alphabetical/index.html)
  • Unix manual (man) pages in HTML (http://www.rt.com/man/)
  • Manual of the GNU utilities (http://www.gnu.org/manual)
  • Unix manual(man) pages categorized (http://unix-man-pages.tempilang.org/)

  Results from FactBites:
 
How to Write a Man Page (1267 words)
The man page for man in Section 1 has information on how to use the man command, while Section 5 or 7 has a page on how to write man pages, and was the source of information for this document.
Thus, all the man pages for commands are in directories named man1, all the man pages for system calls are in directories named man2, etc. The man pages themselves have names of the form "name.X" where name is the name of the command, system call, or whatever, and "X" is usually the manual section number.
For example, you could create the subdirectories man, man/man1, and man/man3 in a project directory and put the man page for a new command in man/man1/xxx.1 and the man page for a new library function in man/man3/yyy.3.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.