LinuxQuestions.org
Help answer threads with 0 replies.
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 10-19-2010, 10:08 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,535

Rep: Reputation: 51
man sections, meaning of each one.


Hi:
Man pages are grouped by sections, each section bearing a number, starting from 1. E.g., a document may refer to ls(1). I once read, unfortunately I don't remember where, what each section is intended for. Could somebody please refer me to a source explaining this? Thanks.
 
Old 10-19-2010, 10:19 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Code:
man man
It's not a joke! The manual page of the man command gives the complete list of available sections.
 
Old 10-19-2010, 10:27 AM   #3
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,848
Blog Entries: 36

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
If you
Code:
ls /usr/share/man
You'll see the different man[1-9] levels.

If you run
Code:
man man
Then the man page for man will break down the different levels for you.
 
Old 10-19-2010, 10:29 AM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,535

Original Poster
Rep: Reputation: 51
Thanks for replying. I don't doubt it is so in your box but, in mine (slackware 12.0) it is not. No such list of available sections in tha manual page for 'man'.
 
Old 10-19-2010, 10:44 AM   #5
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,848
Blog Entries: 36

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Then vim /etc/manpath.conf. It will tell you the paths of the man pages on your system.

After googling around for man man I found a page which has the man levels listed.
https://help.ubuntu.com/community/ma...age%20Sections
 
Old 10-19-2010, 10:53 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Maybe slackware has not the section 1 man pages installed by default. You can find some documentation at the Linux man-pages project, here as well as the man pages online on various sites (as previously suggested). If you want the missing ones installed on your system, look for the man-pages package.
 
Old 10-19-2010, 11:01 AM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,535

Original Poster
Rep: Reputation: 51
In /usr/share/man/HOWTOHELP I saw a reference to man-pages(7). Here is a list of sections 1 through 8 along with a description of the each section. And in HOWTOHELP itself, it says
Code:
SECTION 9 MAN PAGES
===================

These have nothing to with man-pages.  They are documentation
of in-kernel APIs, built from specially formatted comments in
the kernel source.  After installing the required software, these
pages can be built from a kernel source tree using the command
'make mandocs'; see the kernel source file Documentation/HOWTO
for more information.
My thanks to sag47 who gave me the path /usr/share/man, from where I made my way to 'man man-pages(7)'. Adieu.

Last edited by stf92; 10-20-2010 at 08:44 PM.
 
Old 10-19-2010, 11:10 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Quote:
Originally Posted by stf92 View Post
Thanks for replying. I don't doubt it is so in your box but, in mine (slackware 12.0) it is not. No such list of available sections in tha manual page for 'man'.
In 13.1, running man man, I get this list:
Code:
MANUAL SECTIONS
       The standard sections of the manual include:

       1      User Commands

       2      System Calls

       3      C Library Functions

       4      Devices and Special Files

       5      File Formats and Conventions

       6      Games et. Al.

       7      Miscellanea

       8      System Administration tools and Deamons
 
Old 10-22-2010, 08:38 PM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,535

Original Poster
Rep: Reputation: 51
Thanks, gentle slacker.
 
  


Reply

Tags
mansection


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
installing sections 2 and 3 of the man pages? sanimfj Linux - Software 1 03-20-2010 03:38 PM
waht file have paths for man? man.conf? where? xcore_on Linux - Newbie 4 05-23-2006 09:38 AM
Add more sections to man pages Ephracis LQ Suggestions & Feedback 3 06-02-2005 02:20 PM
man alsamixer not showing the man page nosaku Slackware 1 12-20-2004 08:52 AM
Compiling packages on RH 7.1 causes man files to be named man.gz mmboam Linux - General 0 05-09-2001 06:47 PM


All times are GMT -5. The time now is 10:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration