Solved

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

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

730 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