?
Solved

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

Posted on 2014-09-14
4
Medium Priority
?
358 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 84

Assisted Solution

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

Accepted Solution

by:
woolmilkporc earned 1600 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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month12 days, 21 hours left to enroll

777 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