linux - How to find available man chapter/section for a particular command?
2014-04
This question already has an answer here:
You use apropos -e ls
- this is for exact matches, and filters out a lot of stiff The apropos command will search through manpage titles for a string. The number next to the entry in question is the number of chapters, I believe- for example when I run apropos -e mkdir
mkdir (1) - make directories
mkdir (2) - create a directory
While the output of apropos -e ls
shows
dircolors (1) - color setup for ls
ls (1) - list directory contents
I admit I've not been able to work out if the number in the bracket next to the name of the command is the chapter number, but this would be the command to use.
where I can to find mapping between man section number and it's description in standalone mashine.
In other words, where I can to find description of some man section when I have not connection to Internet?
For example:
1 -> User commands
2, 3 -> Linux programmer's manual
and so on...
Thank you for ahead.
On Linux, there's a one-line description of each section number in man 1 man
.
On most Unices (including Linux), man N intro
describes what sort of things are in section N
.