Man pages are the documentation pages that come preinstalled with almost all substantial Unix and Unix-like operating systems
Questions tagged [manpage]
486 questions
3
votes
3 answers
Is there a command to search for a string within all man pages installed in the man-db
I know that if I can't remember a command I can just look it up on Google. But this should be possible from the shell itself. If I could output all the man-pages, I could run a grep on them and find what I was looking for.
Is there a simple command…

Shahriar
- 280
- 2
- 9
3
votes
1 answer
How to colorize man-page in Fish shell?
The bash solution described tmux man-page search highlighting works great in bash but fail when ported in fish.
Fish config
function configure_pager
# Colored man pages: http://linuxtidbits.wordpress.com/2009/03/23/less-colors-for-man-pages/
…

Édouard Lopez
- 40,270
- 28
- 126
- 178
3
votes
1 answer
Period in a man page?
I have a bold line, followed by a line starting with a period. man thinks that the . is the start of a command... is there a way to "escape" it?
.B bold words
./something
The ./something is a command to type in a terminal, not a man macro. I want…

Thanatos
- 42,585
- 14
- 91
- 146
3
votes
1 answer
Can pydoc be used to generate manpages?
I have a set of python scripts that I would like to create manpages for. They are documented with docstrings, so I can get at the documentation that way, but I would also like to have manpages.
Is there a way to use pydoc to generate *roff sources…

roelvanmeer
- 356
- 4
- 18
3
votes
2 answers
what is the meaning of 3 in strftime(3),malloc(3) etc
This might be a silly question. but I was wandering a long time searching for this .but couldn't solve. For some functions I've seen (8) also. They are mostly seen on documentations. Could anyone please help.

Laksith
- 354
- 3
- 20
3
votes
1 answer
No rule to make target needed by all-am
I wrote a program in C++ and I'm using autoconf and automake. Also, I've made man page (my_program.1) in the same folder that has all source files, header files and so on.
In my Makefile.am I have this line
man1_MANS = my_program.1
When I say…

golobitch
- 1,466
- 3
- 19
- 38
3
votes
1 answer
How to install section 9 of man command in debian
As a newbie of Linux Driver Developer, I often need to find a kernel API's usage.
In this post's answer, amrith92 said there exit section 9 of man command. After testing on my Debian, however, It seems no section 9 on in my system.
How could I…

Douglas Su
- 3,214
- 7
- 29
- 58
3
votes
2 answers
What is the difference between signal(7) and signal(2)?
**Disclosure - I am a beginner C programmer and am not completely familiar with how to interpret the man pages nor the correct word choice in speaking about C - any editing or clarification to this question is appreciated.*
Question:
I am reading…

Daniel Gaeta
- 774
- 2
- 9
- 22
3
votes
2 answers
List C functions using man
You can use man to view information about specific c functions, such as man strcmp. Is it possible to list all functions in a header or even just search for functions such as:
man string.h
or
man str*

Jonathan.
- 53,997
- 54
- 186
- 290
3
votes
2 answers
Man pages: How to use arguments
Ultimately, I want to be able to know how to use a function without having to look up an example online.
For example, if I do man 2 mkfifo it displays:
NAME
mkfifo -- make a fifo file
SYNOPSIS
#include
#include…

Brandon Ling
- 3,841
- 6
- 34
- 49
3
votes
1 answer
man pages for optional C11 Annex K functions
As C11 introduced some new functions like
char *gets_s(char *str, rsize_t n);
how can I find these functions's man pages on Ubuntu 12.04?

likern
- 3,744
- 5
- 36
- 47
3
votes
1 answer
get man page for c function not system command
I want to type "man time" and info about the time.h time function, but instead I am getting the linux time system command.
man time 2 or man time 3 doesn't do any different. How can I find the right man page?

talloaktrees
- 3,508
- 6
- 28
- 43
3
votes
1 answer
How to preserve formatting while dumping a man page into a text file
Seems like this should be a pretty simple one, but I can't figure it out (obviously).
When I open a terminal window and run, for example, the command man ffmpeg, the output I see within the terminal looks like this:
FFMPEG(1) …

jerdiggity
- 3,655
- 1
- 29
- 41
3
votes
1 answer
View XCode docset docs from terminal
Is there some tool that can allow me to view an installed DocSet as something like a manpage? Maybe something along the lines of ri in ruby, godoc in Go, etc? I do most of my Objective-C coding in vim+Terminal and would like to be able to access and…

jgoldbg
- 53
- 7
3
votes
2 answers
What is the section '0P' in man page?
After reading the stdbool.h man page its section number, 0P, drew my attention.
Does it describe *.h files or something like that? I can't find the answer.

Glabsounet
- 547
- 5
- 11