Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-15-2011, 02:11 PM   #1
LQ Newbie
Registered: Oct 2010
Posts: 7

Rep: Reputation: 0
Man page directories

Ok, I'm studying for the CompTIA Linux+ LC0-101 exam and I just need some clarification on where man pages are stored. I understand that this can be different depending on the distribution you are working on but so far I've read that man pages are stored in:


While all these might be containers for man pages on various distributions I highly doubt that I will be given the option to make four selections during the test. So is there one or two of them that are seen as the universal man page directories?
Old 02-15-2011, 02:18 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
/usr/share/man would the main location for packages to install to. Have to say though, if this is actually relevant to a cert, then it's a pretty crappy cert to go for. Who on earth cares where they go? It certainly has nothing to do with technical skill, just a pointless memory test.
Old 02-15-2011, 02:21 PM   #3
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390

If all is set up correctly all man directories are searched. Have a look at the /etc/man_db.conf file (especially the MANDATORY_MANPATH and MANPATH_MAP settings).

BTW: Most of these entries are _not_ distro specific, but by convention: X related man pages go to /usr/X11R6/man and /usr/share/man is global for example.

Hope this helps.
Old 02-15-2011, 02:30 PM   #4
Registered: Apr 2008
Location: argentina
Distribution: Arch
Posts: 86

Rep: Reputation: 22
No, but MANPATH environment variable SHOULD point to any directories being used.
See also 'man man'


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
About Man Page Actionscript3 Linux - Newbie 5 10-27-2010 04:26 AM
directories under man the_imax Linux - General 3 03-22-2008 08:00 PM
How do I get out of a man page? christianunix Linux - Newbie 4 10-17-2007 09:37 PM
man alsamixer not showing the man page nosaku Slackware 1 12-20-2004 09:52 AM
man page? chandan Linux - Newbie 1 07-16-2003 08:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration