Solved

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

Posted on 2014-09-14
4
328 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now