man - format and display the on-line manual pages

learn more… | top users | synonyms

3
votes
1answer
27 views

Apropos always returns several duplicate matches from whatis

When I run apropos or man -k in bash, it always returns the same item (at least one) twice: Question Why is it doing this; and would it indicate that there's a possible configuration issue with my ...
1
vote
1answer
23 views

How do I display a manpage with groff in/on msysgit?

I've been unable to correctly set up a MANPATH environment variable in msysgit (1.9.0; 20140217) on Windows 7 (which is not my main concern here). Every time I execute the man command, I recieve the ...
7
votes
3answers
78 views

Can I force `man` to do lower case sensitive matching?

When I search man pages, the search is case sensitive, but only with regard to upper case letters. E.g., x will match x and X whereas X only matches x. This is the man-db version of man, used on ...
1
vote
1answer
16 views

How to install man command for chef

I want to see manual for chef with command man knife-cookbook. But it looks like manuals are not installed by default install gem install chef. I found the man page of knife cookbook. ...
1
vote
2answers
46 views

What does tail -0a do?

In the documentation for logstash, they mention the command tail -0a I have never heard of the -a flag and I can't find any information on google, tail --help or the man pages. What is the ...
1
vote
0answers
58 views

/bin/ and /usr/bin Command Tutorials [closed]

Let me first start off by mentioning that I am not a Linux newbie. I have personally been using the GNU\Linux for nearly 5 years now. However, often times I run across the commands under /bin/ and ...
5
votes
2answers
176 views

What is the name of the formatting output from man?

Output from man command have bold and underline text that is recoginzed by less like H\x08HE\x08EL\x08LL\x08LO\x08O display HELLO or H\x08_E\x08_L\x08_L\x08_O\x08_ as underline HELLO what is the ...
1
vote
1answer
20 views

How to run man with formatting in not interactive shell

I have webpage that process ANSI codes and output from man command (underline A as A\x08_) and I call php shell that execute bash -c "<command>" and print the output on the webpage. On the ...
3
votes
3answers
342 views

if/then/else man page

I would like to know if there is any man page documenting the construction of the most basic script commands like if/then/else, while, for each, and all the relative switches, like -eq, -e, -ge, and ...
3
votes
1answer
30 views

How can I track changes in man pages?

I want to know about changes of man pages after updating software or a operating system completely. Or get a list of revisions for a specified man page. This will not reread the full man page again ...
3
votes
1answer
22 views

Have man pages display how far I am through the file

With less, the -m flag extends the prompt to include a percentage. But how do I get man to do the same thing?
1
vote
2answers
62 views

Why the duplications in the command line output

Entering the following command prints duplicates as shown below. Not all lines print twice but some do. What gives? XXXX:~ XXXX$ man -k pid pid(ntcl) - Retrieve process identifiers ...
1
vote
3answers
105 views

Where is “showing the output of the 'ls' command vertically” documented?

I found out it's possible to show the output of the ls command vertically using the -1 switch: $ ls -1 But couldn't find it in the manual of ls. Is it a secret option?
4
votes
3answers
59 views

Man page with preserved text decorations, proportional text and fixed-width code

How can I get contents of a man page without the text being wrapped around column 80 or so? I'd prefer the output to have proper formatting, line bolding, underscores, fixed-width font for examples ...
2
votes
3answers
63 views

When does one get the error message “jobs : not found”?

When does the jobs command issue the message jobs : not found? Also, why does the command man jobs refuse to show any entry for the command jobs? P.S. : I am able to successfully execute the jobs ...
1
vote
2answers
134 views

How to download all man pages for read offline?

I like read man pages offline instead of search manual on the web. I saw some commands does't have man pages on the machine but exist on internet. For exampe there is no man pace of the xrdb command ...
2
votes
4answers
96 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 ...
2
votes
2answers
52 views

How to highlight some text on a man page? [duplicate]

I find the manuals very difficult to read using the terminal. Is there a way to highlight specific text on the terminal? I tried piping to gedit using man man | gedit, but it opens a blank file ...
0
votes
1answer
53 views

Better help for bash?

I needed to know syntax for for loop in bash in a certain range of numbers. I typed help for but it didn't have this information. Then I learnt from some online article that the syntax is for i in ...
5
votes
1answer
163 views

Documentation on LESS_TERMCAP_* variables?

I see these pretty colors in manpages viewed with less when setting a bunch of these variables. What do they mean, where is the documentation? Is this interpreted by less or termcap? screenshot
2
votes
2answers
43 views

Generate man page in realtime?

I'm working on a command line scripting framework. We would like to generate man pages for our commands. However they are quite dynamic depending on your installation. So ideally we could intercept ...
4
votes
1answer
44 views

Where is the description of man sections' contents?

I have read in many places that section 1 is about User Commands , section 2 about kernel API , section 3 about C library ...so on and so forth. My question is this: How do you get to the short ...
7
votes
2answers
54 views

texinfo: Can I write non-english info files? Such as Chinese, and how?

Most gnu manual files use info, write a texinfo then makeinfo produces info files, it's great. Can texinfo contain non-English characters then produce non-English infos or pdfs? How can I write ...
4
votes
4answers
84 views

Any way to cat few lines of man page to show on stdout for reference?

This is a simple question. Trying my best to put it in simple word. Hope you get it without much confusion - I read a man page for some command-switch/option which has a long description. I read it, ...
2
votes
2answers
287 views

Case insensitive search in man pages

Is there a way to search man pages case-insensitively? Using the '/' search feature matches exact case.
13
votes
2answers
251 views

Open man page and search for string in a single command

Instead of doing man chmod and then /a+x to jump to the first section in the chmod man page that mentions a+x, I would like to know if there is a way to open the man page to a specific search string, ...
2
votes
2answers
89 views

How come Debian has no time(1) manpage?

Searching for manpage for time command does not yield any result (search form). As a sidenote, it appears to be a BASH built-in command since dpkg --search bin/time cannot find it. Perhaps such ...
1
vote
3answers
110 views

Is there any manual about C in Linux? If any, what is it?

While I find that we can read some manuals about Library calls (C library functions) & acsii in Linux. But I still do not find any manual about C precedence order so far. So you can recommend ...
2
votes
1answer
52 views

Properly inserting code samples in man pages

I'm trying to write a man page for a software, and would like to include some code snippets. I'm currently using the .RS and .RE macros as part of a custom-made .SAMPLE macro, but for some reason that ...
15
votes
6answers
428 views

Reading and searching long man pages

I finally got fed up when wanting to read about bash's read and it's -s option with man bash. I found the right spot eventually (around line 4500), but it was a frustrating as usual, since both /read ...
0
votes
2answers
536 views

What does the commands sudo, apt-get, install, and fakeroot stand for? [closed]

I am a newbie to Linux and I am trying to build a custom kernel on ubuntu and I saw this document and it said I needed to install the packages https://help.ubuntu.com/community/Kernel/Compile To ...
2
votes
2answers
112 views

find all commands with wh, find by part of keyword in man page

I want to find all man pages for commands that begin with wh. But I do not understand why the following keyword does not work. man -f "wh" Also if I put man chmod in man page of chmod, it ...
1
vote
0answers
26 views

What are the numbers after program names in Linux/GNU documentation? [duplicate]

I see numbers in parentheses after program names and it confuses me. For example, perldoc mentions that perl grep is "similar in spirit to, but not the same as, grep(1) and its relatives." What does ...
11
votes
2answers
1k views

Does `kill -p` really work?

In the man page of kill it is written as following SYNOPSIS kill [ -s signal | -p ] [ -a ] [ -- ] pid ... kill -l [ signal ] -p Specify that kill should only print the process id ...
2
votes
2answers
107 views

Where can you find the answer to the following question: “How do you get the NUMLOCK key to default to on for the GUI console?”

This is on a fedora machine. I have to look in man pages first to find the answer, if not then in an info page. If the answer is not there then I have to use the internet to find the answer. It is on ...
7
votes
1answer
107 views

Where should I install manual pages in user directory?

I'm trying to create a Makefile for a small Perl utility I wrote, And I'm struggling to find out a way to find where to install my man page when make is run as a non-root user. I'm currently parsing ...
3
votes
3answers
128 views

Nmap -sn: scan or no scan?

The nmap man page has this to say about the -sn parameter: -sn (No port scan) . This option tells Nmap not to do a port scan after host discovery, and only print out the available hosts that ...
2
votes
3answers
2k views

what do I need to do with “man: can't set the locale; make sure $LC_* and $LANG are correct”

I typed man sudoers but got man: can't set the locale; make sure $LC_* and $LANG are correct No manual entry for sudoers What does this mean?
0
votes
1answer
143 views

command --help vs man command [duplicate]

What is the difference between invoking the help using a --help key compared to invoking a "man command"? When should I choose one over another.
1
vote
1answer
94 views

Man folders and MANPATH

This thread What do the numbers in a man page mean? answers the question of the significance of the numbers between parentheses within a man page. My question is related. I have a local installation ...
1
vote
2answers
493 views

Debian - install missing man pages?

I run RaspBMC - a distro based on Raspbian, that's a custom minimal Debian for the Raspberry Pi. If I recall correctly, the man utility is NOT installed by default with RaspBMC (although I may be ...
0
votes
0answers
31 views

How do I extract information about a single option from a manpage? [duplicate]

The Backstory The other day, I saw the command wget -r -nc -p <someurl>. I didn't know what the -p option did, so I opened up the wget(1) manpage. I began searching through the manpage for a ...
0
votes
1answer
104 views

Man displaying groff control characters

Man is displaying groff control characters after I compiled a later version of groff. For example, when I try to view groff's man page: GROFF(1) General Commands Manual ...
2
votes
0answers
54 views

man path and 'man foo' vs. 'man -k foo'

I have a set of man pages in a non-standard location; however, the location is on my MANPATH (and I verified this with man --path). When I do man fst-infl (where fst-infl has a man page in this ...
-2
votes
3answers
142 views

Auto continuous scrolling of man output

When I execute man foo the terminal shows only the first page and then pauses. Then I have to manually press the keys to scroll here and there. After executing man foo how do I get an output which is ...
20
votes
3answers
2k views

What is GNU Info for?

I understand what GNU Info is and how to use it, but what is it for? Why does it exist in parallel to the man pages? Why not write detailed man pages rather than provide a separate utility?
2
votes
0answers
136 views

Install man pages in directory with update-alternatives

Using update-alternatives(8) on a Debian system it is possible to add man pages as slaves under some master alternative. For example, the following command installs an alternative man page tclsh.1 ...
16
votes
2answers
797 views

Why do Unix man pages use double backticks in place of double quotes?

I've noticed that man pages and other documents formatted by Unix utilities often use double backticks `` followed by double single quotes '' to wrap quoted phrases instead of the double quote ...
3
votes
2answers
62 views

How do I know which library and man page will be found first?

With binaries, I can always do which foo to know which binary I am invoking with $ foo, but what about man pages? Is there a way to know the path of the man page will be loaded by default? Similarly, ...
4
votes
1answer
224 views

convert man output to ebook format

I can convert man output to PDF. First, man -t grep >grep.ps (grep is just an example; I am not looking for mobile version of grep man page). Then Adobe Distiller converts PostScript to PDF. ...