Man pages are the documentation pages that come preinstalled with almost all substantial Unix and Unix-like operating systems
Questions tagged [manpage]
486 questions
24
votes
5 answers
Where to view man pages for Bash builtin commands?
For example, when I type man fg, or man history, the same manpage, BUILTIN(1) will be displayed. There is a list of commands, but not the specification of their usage. Where can I find them?

franklsf95
- 1,182
- 12
- 23
22
votes
4 answers
How to read Linux man pages?
Every time I find some command confusing, I'd reach out for man pages. Sometimes I get what I want with it, but mostly it confused me even more.
I understand that a man page is divided into parts: NAME, SYNOPSIS, DESCRIPTION, OPTIONS, EXPRESSIONS,…

cizixs
- 12,931
- 6
- 48
- 60
19
votes
1 answer
How to find man pages for C structs (struct sockaddr_in)?
I am having a hard time finding man pages for the structures used in socket. So I am currently learning about them from a separate online tutorial. But it would be nice to know how to lookup these structures in the man pages itself.
I am using a…

Lone Learner
- 18,088
- 20
- 102
- 200
19
votes
2 answers
What does set -e and set -a do in bash.What are other options that i can use with set command
I would like to know as what do below commands do in bash.
set -e
set -a
What are other options that i can use with set and what do they mean.

thinkingmonster
- 5,063
- 8
- 35
- 57
17
votes
3 answers
Why does 'man 2 open' say that there are two kinds of open?
I ran into this question while typing man 2 open. It says that there are two kinds of open, one with two args, and one with three! last time i checked we could not overload functions in C. How did they do this? did they write in C++?
int open(const…

Amir Zadeh
- 3,481
- 2
- 26
- 47
17
votes
2 answers
How to add entry in Linux man page database
I have a manual page for mongoose web server named as mongoose.1 as a result of doing make and make install command to install mongoose web server on my ubuntu 12.04.
But ,the man page entry is not in manual page database.
output on my command line…

Akshay Patil
- 954
- 1
- 12
- 28
16
votes
3 answers
How to search Linux man pages (e.g. with grep)
I'm looking for information on the -X option of curl. However, the documentation is quite lengthy and I have to scroll down for quite a long time to get to this option. Instead, I'd like to do something like
man curl | grep -X
to get the line…

Kurt Peek
- 52,165
- 91
- 301
- 526
16
votes
5 answers
How to fix "No manual entry for gcc"?
I somehow lost the man pages for gcc and g++. I'm not sure where/what to look for. I'm pretty sure the man pages used to work some time ago. It also works on my Mac at work where I use roughly the same setup. Could it be a problem with brew? Or is…

Jan Deinhard
- 19,645
- 24
- 81
- 137
15
votes
3 answers
man page generation/packaging/installation with cmake
I am looking for some good examples / tutorials on how to generate, package, and install man pages in projects using CMake.

Noah Watkins
- 5,446
- 3
- 34
- 47
15
votes
4 answers
Change width of man command ouput
I use Guake terminal emulator a lot. It's the best thing since sliced bred IMO.
But one thing has been bugging me, when I want to read man pages the default width of the output is the width of the terminal windows, which in my case is always full…

Kok Nikol
- 307
- 1
- 3
- 9
14
votes
2 answers
How to install man pages on an ubuntu docker image?
I use the following Dockerfile to build an image and start a container. But once I am in the container, I still can not find manpages. Does anybody know how to solve this problem?
$ cat Dockerfile
FROM ubuntu
RUN apt -y update && apt -y upgrade
RUN…

user1424739
- 11,937
- 17
- 63
- 152
14
votes
2 answers
How to get OpenGL man pages on Ubuntu as in "man glRotate"?
When on MacOSX, "man glRotate" brings up the glRotate manpage.
On ubuntu, with manpages-dev and manpages-posix-dev insatlled, "man glRotate" doesn't bring up the glRotate manpage (though I can build and compile gl apps).
What am I missing? How do I…

anon
- 41,035
- 53
- 197
- 293
13
votes
4 answers
Generating python CLI man page
I am developing a python CLI tool (using optparse in python2.6, but hope to switch soon to python2.7) and I am about to write the man page.
I have some experience on generating dynamic man pages by:
creating a dedicated method that composes a…

Cinquo
- 633
- 1
- 6
- 17
13
votes
3 answers
what is a regular file on unix
I saw the man page of test.
where the below is mentioned.
-e pathname
True if pathname resolves to a file that exists. False if pathname cannot be resolved.
-f pathname
True if pathname resolves to a file that exists and is a regular file.…

Vijay
- 65,327
- 90
- 227
- 319
13
votes
4 answers
How to get 'man' working in an Alpine Linux Docker container?
I can’t get man to work in an Alpine Linux Docker container.
Pull Alpine Linux and start a container.
docker pull alpine:latest
docker run -t -i alpine /bin/ash
Update repository indexes from all remote repositories.
apk update
Install man and…

lukejanicke
- 977
- 1
- 9
- 25