LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-14-2005, 12:48 PM   #1
nodisk
LQ Newbie
 
Registered: Dec 2005
Posts: 10

Rep: Reputation: 0
The Naming Conventions


In man pages or online documentation, a newbie often encounters something like this: nmake[4], Perl[3], and so on. What are these numbers and what do they mean?
 
Old 12-14-2005, 12:51 PM   #2
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
You know what? I don't know.

But the great thing about man pages is that they are so extensive. Try the following:

$ man man

Let us know what you find out! (I'm not being smart.)
 
Old 12-14-2005, 01:05 PM   #3
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Hmm, now that you got me curious, I had to look it up. I found it (no surprise) in rute:

Quote:
Man pages are referenced with notation like cp(1), for the cp command in Section 1, which can be read with man 1 cp.
http://rute.2038bug.com/node7.html.g...00000000000000

Not so mysterious.
 
Old 12-14-2005, 01:13 PM   #4
nodisk
LQ Newbie
 
Registered: Dec 2005
Posts: 10

Original Poster
Rep: Reputation: 0
I found out that if you type for example
Code:
man perl
you find out at the top left and top right something like
Code:
PERL(1)
It may mean that this Section 1 of the man page for perl
 
Old 12-14-2005, 01:19 PM   #5
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
See above.
 
Old 12-14-2005, 03:26 PM   #6
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
Just remember that the "sections" are not sections *within* the man page, but the section the man page belongs to. For instance, off the top of my head, Section 1 is for most normal user commands. Section 3 is for programming languages, Section 5 is for file formats (e.g., /etc/fstab), Section 8 is for games. I used to know all the sections, but I can't find the info very quickly right now...
 
Old 12-15-2005, 06:15 AM   #7
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
http://man.linuxquestions.org/

Check out the Section pull-down list.
 
  


Reply


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
Java Naming Conventions logosys Programming 0 11-10-2005 09:21 PM
Supermount naming conventions --- how to edit??? esteeven Mandriva 0 08-31-2004 03:43 PM
variable naming conventions patpawlowski Programming 6 02-25-2004 02:49 PM
Naming conventions ??? bigjohn Linux - Newbie 1 12-07-2003 11:25 AM
File Naming Conventions mooreted Linux - Software 4 08-23-2003 11:00 PM


All times are GMT -5. The time now is 01:44 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