man - format and display the on-line manual pages

learn more… | top users | synonyms

5
votes
2answers
184 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 ...
3
votes
3answers
463 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
32 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
26 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
70 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 ...
2
votes
3answers
98 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
423 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 ...
3
votes
3answers
2k views

localization of man pages on Linux (Ubuntu)

Is there an option to output a manual page in a different language? I don't want to change the computer language completely, but only specific manual pages. For example $ man -English man Man is a ...
4
votes
3answers
107 views

Specify the sector of manpage

When man declare in bash, I get the manpage of declarein sql. But I would like to get the manage of declare in shell. How can I do that?
2
votes
4answers
396 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
104 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
55 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 ...
7
votes
2answers
61 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 ...
2
votes
2answers
49 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
48 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 ...
4
votes
4answers
161 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
636 views

Case insensitive search in man pages

Is there a way to search man pages case-insensitively? Using the '/' search feature matches exact case.
15
votes
2answers
275 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
102 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 ...
8
votes
4answers
468 views

View man page of not installed package?

On Debian-based systems, can one view the man page of packages that aren't yet installed? I want to check what they are capable first, before installing them.
2
votes
1answer
71 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 ...
1
vote
3answers
116 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 ...
0
votes
1answer
154 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 ...
17
votes
6answers
517 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
2k 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
169 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
135 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
170 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
235 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 ...
3
votes
3answers
3k 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
190 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.
7
votes
4answers
244 views

How do I check man pages for what single parameter of the command does?

Example: I am using tar -zxvf command but I don't know what 'x' stands for. How can I check this single parameter without having to scroll all the way through man tar?
1
vote
1answer
164 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 ...
20
votes
2answers
961 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 ...
1
vote
2answers
950 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 ...
4
votes
1answer
317 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. ...
2
votes
0answers
58 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 ...
3
votes
2answers
391 views

Why “man CMD” shows nothing?

After I ran man ls, it shows: Man: find all matching manual pages * ls (1) ls (1p) Man: What manual page do you want? Man: After I entered "1", it shows nothing but "Manual page ls(1) ...
-2
votes
3answers
186 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 ...
3
votes
3answers
141 views

How do you output an info page to pdf?

If man -t ls | ps2pdf - > ls.pdf is useful for outputting the ls man page via ps2pdf to pdf, what about info pages? I've tried something like the following but with no success: info -o info | ...
17
votes
4answers
2k views

How can I use man without less?

By default, man uses less to output text. How can I tell it to just output to stdout? My terminal emulator has a scroll bar and search function and I want to use those instead of the arrow keys.
2
votes
0answers
182 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 ...
2
votes
4answers
140 views

SDK for Developer

Is there any SDK for developers under Linux? I mean more than man pages, it would be more like MSDN Library or Windows SDK under windows, where all documentation about programming and developer guide ...
8
votes
4answers
189 views

Where to search for more info if I don't have Internet?

For example, I was reading setuid man page today. It says: If the effective UID of the caller is root, the real UID and saved set-user-ID are also set. I don't know what set-user-ID is. How can ...
7
votes
3answers
764 views

manpages for my kindle?

I'd like to read unix manpages on my kindle. I know I can just redirect the man output to a file and give it a .txt extension. But is there a convenient way to convert them en masse to a format with ...
3
votes
2answers
64 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, ...
6
votes
1answer
115 views

How should man pages be installed?

When distributing a custom utility I'll typically write a makefile that installs binaries to /usr/local by default PREFIX ?= /usr/local MANPREFIX ?= ${PREFIX}/man install: install utility ...
1
vote
1answer
124 views

head command options and reading man files

I have two environments: Mac and Linux. I wonder about the head command: it can show just 2 lines of text if I invoke it like so: vim --version | head -2 I saw this online and ran to the man page ...