man - format and display the on-line manual pages

learn more… | top users | synonyms

1
vote
0answers
44 views

Some commands are no longer responding?

I have a Debian based distribution & lately a problem has been encountered when trying to execute the gcc or man command's (And probably other commands I haven't found yet). When I type them in ...
2
votes
1answer
20 views

Can't install man pages on minimal Centos Docker container

I have a minimal Centos 7 Docker image, and I'm trying to get some man pages on it to help in debugging my Dockerfile. Out of the box, it doesn't have much: # man ls No manual entry for ls Per this ...
0
votes
1answer
20 views

man: hide help message

I have set high contrast color for "search results" in man: export LESS_TERMCAP_so=$(tput setaf 1; tput setab 3) so that my search results are highlighted and easy to find. Unfortunately, this ...
0
votes
2answers
29 views

What does the -b option do when using the `at` command, if anything?

According to man at, one of the ways to call at (version 3.1.10 on my system) is with the form: at [-V] [-q queue] [-f file] [-mldbv] time Although -m, -l, -d, and -v are all documented, nowhere ...
3
votes
0answers
25 views

Dealing with manpage search

It seems that man -K does not search the formatted output, but the markup source. For example man -K warranties gives many manpages which do not contain the string warranties, like xcalc(1). Also, ...
3
votes
5answers
38 views

List available man page sections for an application

I am thinking about the man page sections 1 = user commands, 2 = system calls etc. Is there a way, a command that will tell me what sections are available to read besides running something like man ...
-1
votes
0answers
19 views

Asking for section of man file [duplicate]

I know how to ask for a man file from a section but can I display a section from a man file EG just the "synopsis" or "author" section or possibly a combination like the authors & the description ...
0
votes
1answer
12 views

How to inform man about number of columns in non interactive mode? [duplicate]

I'm running man in non interactive mode from bash and I'm displaying the result on the webpage. I have number of character per line calculated on a page, how can I inform the man command about number ...
0
votes
1answer
30 views

How to install man pages on centos? [duplicate]

After an install of centos 7, I can't acces man pages : # man ls -bash: man: command not found I tried to install it via yum # yum install man-pages ... ok But again: # man ls -bash: man: ...
0
votes
1answer
21 views

How to convert the manpages of git and its subcommands into a pdf file?

There are two places that I can find manpages of git and its subcommands: https://git-scm.com/docs, and the links to all the git subcommands ...
1
vote
0answers
34 views

problem while using “ yum groups ”

When i am trying to use yum groups commands in RHEL 7 it is giving me following output. #yum groups list There is no installed groups file. Maybe run: yum groups mark convert (see man yum) I have ...
0
votes
1answer
47 views

How to read the man page for a bash builtin? [duplicate]

So, I needed to figure out how "exec" works. However, doing man exec brings me to a 99% useless man page describing what bash builtins are. It of course also does this with many other man pages such ...
-1
votes
1answer
25 views

What's the meaning of (1) in the man page? [duplicate]

With man bc, I have a line starting with bc(1). bc(1) bc(1) NAME bc - An arbitrary precision calculator language Some of ...
4
votes
5answers
570 views

How do I convert Linux man pages to HTML without using groff?

I would like to convert some Linux man pages to HTML without using groff. My prejudice against groff is due to some PNG rendering issues it is giving me that seems to be localized to Sabayon (as these ...
2
votes
1answer
47 views

How do I generate manpages using escape codes for bold, etc.?

While inspecting the source code of less, I noticed that the included manpage (less.man) used terminal escape codes for showing bold text: ^[[1mNAME^[[0m less - opposite of more ...
12
votes
2answers
857 views

What is the “2001 article” for blocking “automated retrieval programs” referred to by the wget man page?

The wget man page states this, under the section for the --random-wait parameter: Some web sites may perform log analysis to identify retrieval programs such as Wget by looking for ...
1
vote
2answers
38 views

How to control content of header in groff man macros

I'm using the groff man macros to produce general purpose documentation (not actually man pages) because they are easy to learn and use. I'd like control of the postscript page header as free text ...
2
votes
0answers
132 views

How to install man pages in CentOS 6.x minimal for all previously installed packages?

I ran into an issue to where man pages were missing from a CentOS 6.x minimal system (this is normal). I installed the man subsystem and then noticed the man pages were still missing for select ...
4
votes
3answers
128 views

Use terminal-based documentation effectively (no web browser) [closed]

The problem I was trying to find shell scripting information without an Internet connection, i.e. via man page. Specifically, I was looking how to pass and use parameters. man bash does not contain ...
0
votes
0answers
19 views

Building man-db on android L

After finding that the version of man in Busybox Stericson doesn't print man pages at all on my Nexus 4, I decided to build man-db for android myself. So far, I've done: cd man-db-2.6.7.1 export ...
1
vote
1answer
51 views

`man` pages for languages other than C (e.g, python, R, javascript, etc)?

man pages are a phenomenal resource while programming in C on Linux. While looking at someone else's code, if you see something foreign you can immediate research it in another terminal with $ man 3 ...
6
votes
1answer
141 views

Full list of tput options

I wanted to hide the cursor, and I was aware of tput command. I did search its man page. On searching the Internet, I found $ tput civis # to hide the cursor $ tput cnorm # to bring back the cursor ...
2
votes
1answer
35 views

what is the significance of the “7” in “man 7 regex”? [duplicate]

When I type man regex into a shell, this loads REGEX(3) Linux Programmer's Manual REGEX(3) ...
0
votes
1answer
301 views

Implicit declaration of strlcpy and strlcat even with “string.h” included

Gcc throws an error when I try to call the functions strlcpy or strlcat in a C file: error : implicit declaration of strlcpy error : implicit declaration of strlcat In what library can I find those ...
3
votes
1answer
40 views

Manpage typography and proper dashes

Should manpages avoid using unicode characters like the m-dash (—)? I've noticed most manpages use hyphens/minuses in their taglines where, I believe, an actual dash would have been more correct ...
10
votes
2answers
228 views

How to open grep(1p) manpage?

At the end of man grep, it says SEE ALSO\ POSIX Programmer's Manual Page grep(1p). I am not able to open the manpage grep(1p). How do I do that? Search net, Unix.SE and did trial and ...
0
votes
2answers
133 views

Where is the latest source code of man command for linux?

I'm looking for the latest source code of man command, the version in my Linux is pretty old(v1.6f), but I failed after googling a while. I mean the latest source code of man, not man-pages but the ...
1
vote
2answers
66 views

How to grep man pages for a word? [duplicate]

Recently I wanted to get info of struct timespec a field of lstat structure, but I couldn't get any. I tried $ man timespec $ man -k timespec timespec: nothing appropriate. After some time I went ...
0
votes
2answers
35 views

Is the mdoc macro set available on non-BSD systems by default?

Are the MDoc macros, commonly used to create BSD manpages, commonly available on non-BSD systems (such as Ubuntu and other GNU Linux distros)? Is it safe to design manpages using them when writing ...
1
vote
1answer
14 views

Simulating vim's scrolloff in manpages

The issue I have could be illustrated best with example: I know curl lets me do POST requests but I don't remember how. So I open man curl, and begin to search for POST. The problem is that every ...
0
votes
1answer
95 views

How to automate cryptsetup-luksAddKey with passphrase?

Context: I replaced my passphrase prompted at launch by a keyfile, stored on a USB dongle. My question concerns the step: # cryptsetup luksAddKey /path/to/mykeyfile . I generated my added key ...
0
votes
1answer
16 views

What is the recommended resource to refer to for syntax, usage and information about commands for an application?

What is the recommended resource to refer to for syntax, usage and information about commands for an application? I am currently trying to decide between command help (assuming that command has a ...
3
votes
3answers
229 views

Print man pages with fixed width

With the example command man apropos > outputfile a text file is generated which contains the formatted man page of apropos (with some little differences with respect to man apropos directly ...
1
vote
2answers
48 views

Jump to specific flag in help/man file

Let's say I'm curious about what a specific flag -T means for a command ls? Is there a way to jump straight to that using man ls...? or, and this is a slightly different question because it's not ...
0
votes
0answers
44 views

Man-pages don't include all relevant information

Consider the man-page of this function: sysconf It doesn't have all the information that I need (e.g. all the system variables to be queried). This is an example of what I need: ...
0
votes
0answers
19 views

Adapt text lines to fixed length [duplicate]

With the shell command fmt -w 30 myfile it is possible to truncate the myfile lines so that their length is at most 30 characters. The result is however not a justified file: some lines will be ...
1
vote
1answer
26 views

Why does using rev as your man pager fail when piping it through rev again?

I recently thought about a devious trick that involves setting the PAGER envionment variable to rev as a joke. When I tried reading the man page for rev with man rev I then saw the man page in reverse ...
1
vote
2answers
185 views

apropos regex start with?

I'm trying to use apropos so that I would look for all man pages starting with system. I try: apropos ^system apropos "^system" but these seem to return lines that don't start with system, but ...
2
votes
1answer
135 views

Viewing Linux Programmer's Manual when multiple pages bear the same name

I want to view the read page of the Linux Programmer's Manual. When I type man read I get the read page of the General Commands Manual. Looking at the man --help I realized I could view all man pages ...
2
votes
1answer
46 views

How do I match the beginning of a line in a manpage?

When I do man zshbuiltins I typically want to search for a command. Suppose I'm looking for info on the alias command. I get a chunk of text like: : [ arg ... ] This command does ...
2
votes
3answers
99 views

How to read this tcpdump man page?

I am trying to use the tcpdump command in a project and I have some difficulties understanding the help page. SYNOPSIS tcpdump [ -AbdDefhgHIJKlLnNoOpPqRStuUvxX ] [ -B buffer_size ] [ -c count ] ...
6
votes
3answers
505 views

Why is the manual for 'where' command not available

I recently came across the command where, which provides the actual path of executables in Linux. I was aware of which, whereis, locate and find, but not where. I want to know when this command got ...
0
votes
2answers
73 views

How do you search ! in man sed?

You cannot search ! directly because it puts process behind. For instance, you cannot search ! in sed man. How can you search ! in man?
1
vote
1answer
81 views

Using apropos command with -a to search multiple keywords on CentOS 7

I'm running CentOS 7.0 build 1503. I'm trying to search for commands I don't know the name of by searching the man descriptions for multiple keywords using AND (e.g. search for a command containing ...
1
vote
1answer
67 views

man page search - how can I turn off the highlighting after matches found?

When using man pages, a commonly used feature is to use / then a search term to get to a word of interest. Once found, all matches remain highlighted - this can often be distracting when I just want ...
16
votes
5answers
2k views

Where is the Programmer's manpage for the open C Function?

I am using debian8 (jessie) and I went to find read the manpage for open. instead I got a warning: $ man 3 open No manual entry for open in section 3 See 'man 7 undocumented' for help when manual ...
4
votes
2answers
263 views

Man page quotation characters [duplicate]

I've just been looking through a few man pages for a few different commands including grep and ifconfig. I've noticed over a few pages, the content uses a strange syntax to notate what i think are ...
4
votes
1answer
79 views

What are the 'n', 'l', '3pm' sections of the manual for?

An excerpt from the man man page: The default action is to search in all of the available sections following a pre-defined order ("1 n l 8 3 2 3posix 3pm 3perl 5 4 9 6 7" by default) What are ...
1
vote
2answers
90 views

How to perform grep on 'man unix_command'?

Often while going through the output of man man awk I Need to perform grep, for e.g. in man awk, I need to find the definition of a particular flag, variable etc. Can anyone tell me, what would be ...
2
votes
2answers
88 views

Where are the details of 'Pathname Expansion' and 'Brace Expansion' in man page? [closed]

I was trying to go through a man page with a calm mind for the first time, and I hit a frustration already 2 minutes down the road. $ man set nocaseglob If set, bash matches ...