LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-28-2010, 08:02 AM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Question Question about man pages


In "man" pages there are somtimes:
Code:
For more details, see fstab(5).
What does "fstab(5)" mean here? It has a digit, so I don't know its meaning? How do I use this hint?
 
Old 09-28-2010, 08:06 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by Mr. Alex View Post
In "man" pages there are somtimes:
Code:
For more details, see fstab(5).
What does "fstab(5)" mean here? It has a digit, so I don't know its meaning? How do I use this hint?
man pages are devided into chapters.

in this case 5 is a chapter number.

you can use

Code:
man 5 fstab ##<- 5 is a chapter number
to view associated chapters you can use whatis command
Code:
debian:~# whatis time
time (7)             - overview of time and timers
time (1)             - run programs and summarize system resource usage
Regards,
 
1 members found this post helpful.
Old 09-28-2010, 08:34 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

In addition to what 'sem007' has stated, I would 'man man'.

You can also learn from these useful links;
Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Newbie Admin Guide
LinuxSelfHelp
Getting Started with Linux


The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
1 members found this post helpful.
Old 09-28-2010, 10:28 AM   #4
myposts
Member
 
Registered: Jun 2010
Posts: 46

Rep: Reputation: 21
Here...

man pages have a fixed structure and are divided into standard sections. There ar emany fields they can contain, type
"man man" (it will show man page on command man itself!
and read all about it. I can also suggest, take a look on "for Beginner" training DVDs on UnixAcademy.com, it explain all the stuff, and there are some free exams to practice too.
 
Old 09-29-2010, 08:20 AM   #5
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Original Poster
Rep: Reputation: Disabled
Code:
man 5 fstab
and
Code:
man fstab
seem to have no difference in output.
 
Old 09-29-2010, 08:25 AM   #6
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
That's because they are the same page. Notice in the upper left corner of either invocation, they probably both say fstab(5). I'd be kinda surprised if not, or maybe you have that man page installed in two locations - I seem to only have one fstab man page..

An example might help: Try the printf man pages:
Code:
man printf
man 1 printf
Above, both go to the same page; however:
Code:
man 3 printf
is a different manpage, for a different printf (or, the same printf, but C programming related details).

Last edited by GrapefruiTgirl; 09-29-2010 at 08:29 AM. Reason: typos, additions
 
1 members found this post helpful.
Old 09-29-2010, 09:36 AM   #7
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
You can also use whatis command to see total chapters.

Regards,
 
  


Reply



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
noob question about MAN pages of COREUTILS BlueSpirit Linux - Software 2 08-15-2006 10:55 AM
who - man pages kshkid Programming 17 03-01-2006 02:37 AM
What do you mean by MAN pages? inspectreo Linux - Newbie 2 05-08-2005 02:12 PM
Man pages twantrd Solaris / OpenSolaris 5 08-16-2004 03:15 AM
can't see man pages Elbolton Linux - Newbie 5 03-06-2002 11:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:57 AM.

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
Open Source Consulting | Domain Registration