Solved

How do I get to  the sections in a man page in linux

Posted on 2014-09-14
4
337 Views
Last Modified: 2014-09-14
Have read that there are sections in man pages.  How do I get to them ?

Section - covers
8           -  sysadmin special  
5            -  config
1            -  regular user commands

I need to be able to find this type of information fast from the man page.  

redhat 5+
0
Comment
Question by:TIMFOX123
  • 2
4 Comments
 
LVL 84

Assisted Solution

by:ozo
ozo earned 100 total points
ID: 40321881
man sectionnumber pagename
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 400 total points
ID: 40321884
You can specify a section when searching for a particular manual page.

Example: man 3 printf

wil display the man page for the printf() function.

man 1 printf

will do the same for the printf user command.

man 5 crontab

will display help for the crontab config file,

man 1 crontab

will do the same for the crontab user command.
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 40321904
You can see which sections exist for a given page with "-f"

Try man -f printf or man -f crontab or man -f ls

A section suffixed with "p" contains the respective POSIX specifications.
0
 

Author Closing Comment

by:TIMFOX123
ID: 40321919
As always a great answer wmp
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

805 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question