man - format and display the on-line manual pages

learn more… | top users | synonyms

1
vote
0answers
50 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
23 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
30 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 ...
5
votes
2answers
216 views

What is the name of the formatting output from man?

Output from the man command has bold and underlined text that can be read by less. For example, H\x08HE\x08EL\x08LL\x08LO\x08O displays HELLO (boldface) or H\x08_E\x08_L\x08_L\x08_O\x08_ displays ...
3
votes
0answers
26 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
13 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 ...
4
votes
5answers
575 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 ...
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 ...
5
votes
2answers
1k views

Make Less highlight search patterns instead of italicizing them

To my understanding man uses less as a pager, and when searching for keywords using less it "highlights" keywords with italics. I find that really inconvenient, so I'd like to change this to something ...
1
vote
0answers
36 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
48 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 ...
50
votes
8answers
4k views

How do I use man pages to learn how to use commands?

While researching another problem, I came across a command, locate something | xargs -I {} bash -c "if [ -d "{}" ]; then echo {}; fi" that I wanted to learn more about. So I ran man xargs and get ...
-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 ...
221
votes
7answers
34k views

What do the numbers in a man page mean?

So, for example, when I type man ls I see LS(1). But if I type man apachectl I see APACHECTL(8) and if I type man cd I end up with cd(n). I'm wondering what the significance of the numbers in the ...
2
votes
1answer
48 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
860 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
40 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 ...
0
votes
1answer
24 views

Get information on tools/packages that are not installed [closed]

How can I get information about packages I have not installed (other than a web search)? For example, imagine I am interested in iftop. If I do a web search I can find a wikipedia article and the man ...
3
votes
3answers
40 views

Submit an updated manpage

I found missing information in the manpage for scp when using IP6: there is no hint that you have to use slash masked brackets around the IP when using scp -6: scp -6 ...
3
votes
4answers
722 views

Find software package with greatest number of system manual pages

I want to output the name of the installed software package that owns the greatest number of system manual pages. Is there a command to do this?
2
votes
0answers
138 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 ...
5
votes
4answers
1k views

Linux's man alternatives

Are there any alternatives to linux's man? I know many users used to man and for them it's useful and best way to find what they want, but i'm looking for something which is focused on examples. Is ...
1
vote
1answer
2k views

No manual entry for man

I'm working in a Centos 6.6 Docker image. I thought I installed everything to get access to man pages, but apparently not... $ yum install -y man man-pages man-pages-overrides [...] Complete! $ ...
4
votes
3answers
129 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 ...
2
votes
1answer
138 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 ...
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 ...
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 ...
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
306 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
135 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
67 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 ...
36
votes
19answers
14k views

Tricks and tips for finding information in man pages

Does anyone have any tricks and tips for finding information in man pages?
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
233 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 ...
10
votes
3answers
3k views

Understand synopsis in manpage

I have not being able to understand the synopsis in manpage of a command. For example, let's see the manpage of man itself. By man man: SYNOPSIS man [-C file] [-d] [-D] ...
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 ...
5
votes
5answers
4k views

How to copy multi-page text from the terminal into the clipboard?

I was viewing a man page for a software on my machine and I needed to copy-paste some of that text but the text was much more than one page. I'm aware I can direct the output to a file and use UI ...
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 ...
13
votes
6answers
1k views

What does the name of the unix command apropos mean?

Apropos is a tool to search the headers of the man pages for a string. What does the name apropos mean?