Tagged Questions

man - format and display the on-line manual pages

learn more… | top users | synonyms

2
votes
1answer
30 views

Highlight the current search match in man pages

When I open a man page, for example man chmod and I hit / for searching a string in the page I can see all the matching strings highlighted. Pressing n or N will focus on the next/previous matching ...
1
vote
0answers
30 views

chromium add a protocol handler

A lot of years ago I was using kde/konqueror and one nice feature was the ability to open man and info pages using man:// and info:// as url protocol, I never checked but guess man/info pages were ...
0
votes
1answer
16 views

Install manpage of jdk?

I followed this link to install jdk1.7.0. But when I man javac, there is no manpage for that. (Note: Before the installation, man javac gives the manpage for gij.) $ man javac man: can't resolve ...
2
votes
3answers
161 views

How do I tell which command has the longest manual on my system?

Is there an easy way to find out which command has the longest manual pages?
8
votes
1answer
111 views

Why didn't GNU Info succeed man?

As per my knowledge/understanding both help and man came at the same time or have very little time difference between them. Then GNU Info came in and from what I have seen is much more verbose, much ...
2
votes
1answer
35 views

RHEL: man page for interface configuration files

How to get the man page for ifcfg-$Interface files? Something like man 5 $Keyword for /etc/sysconfig/network-scripts/ifcfg-enp0s3. Is there not a man page? Is the keyword wrong? RHEL:~# cat ...
2
votes
3answers
88 views

Find contents of a man page

Can I find the contents of a man page? man bash is almost 6000 lines long, and I would like to know the section headings within the page.
7
votes
1answer
92 views

How to filter any part of description or option from manpage

I want to get output of any desired description or option from a man page. Example: I want to get the description for the autoclean option from the apt-get man page: Please suggest a command, ...
0
votes
1answer
18 views

View a man page in a specific section

I wanted to access man pages for command chmod. Command whatis chmod gave this output: chmod (2) - change permissions of a file chmod (1) - change file mode bits But I was ...
1
vote
0answers
27 views

Why some strings are quoted with double backticks and double single quotes in man pages?

For example, in the yes man page: yes outputs expletive, or, by default, ``y'' Why is "y" quoted this way?
3
votes
4answers
337 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?
1
vote
2answers
74 views

man pages: meaning of '2' in STAT(2)? [duplicate]

What's the significance of the number, like the 2 in STAT(2), seen in man pages? For example, man 2 stat yields a man page with STAT(2) at the top and a description that begins, The stat() ...
1
vote
0answers
21 views

man causes a broken pipe when using a pager other than less

I'm trying to write a simple script to format my man pages, but I've run into a broken pipe error. These lines both cause the error: env MANPAGER=cat man $foo man -P cat $foo and this is the ...
2
votes
1answer
59 views

How does Solaris find man pages?

Initially, my MANPATH environment variable is not set. Despite this, I can use the man command to view most man pages as usual. man top can't find that particular man page, but which man tells me ...
1
vote
0answers
33 views

Searching in man pages [duplicate]

Recently, I stumbled over some configuration files. To gather more information about its structure and how the its used, I either do a quick research on the internet (just ask Google) or use the man ...
1
vote
3answers
174 views

How to install/make the kernel section 9 manpages which document its functions and data structures?

The kernel sources contain functions and data structures which are documented, for instance in panic.c: /** * panic - halt the system * @fmt: The text string to print * * Display a message, ...
0
votes
1answer
50 views

Why are man pages blank for non-root users?

. . . And how can I fix that? :-) I'm running RHEL 5 and when I try to view man pages as a regular user, they are blank. I've tried man man > manman.txt; cat manman.txt and there is no output, ...
3
votes
3answers
31 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
1answer
53 views

Is there a man section or other doc repository for data structure definitions?

For the millionth time or so I had to look in /usr/include/foo.h to find the members of a struct foo or foo_t or whatever. There's a man section for library and kernel calls, some of which include ...
1
vote
1answer
20 views

Does info also look up manpage?

Besides man, info can also provide information of a command. For the commands I have tried, I find that info provides the same information as man. So I wonder if info always look up manpages? What ...
7
votes
1answer
174 views

Create a manpage adressing several executable

I am packaging an application with a bunch of executable accepting roughly the same arguments. I would like to write (and provide) only one manpage with common explanations and the list of arguments. ...
3
votes
1answer
29 views

What does “spanning files” mean in the help of Manpage?

I open a manpage of some command, and then hit h. In the help, for the search part, what does "spanning files" mean? What are "files" refereed to? I search a pattern, and hit n to repeat the ...
-1
votes
1answer
49 views

man command: is there a way to know the meaning of the output of a command >

Is there a way to know the meaning of the output of a command? Example given: If I type ls -l, I get this ouput: [root@localhost junk]# ls -l total 8 -rw-r--r-- 1 root root 1862 2012-08-25 16:20 a ...
9
votes
1answer
126 views

Is there a standard for writing a command synopsis?

It appears to me that everyone has their own idea on how to write a synopsis describing command usage for the end user. For example, this is the format from man grep: grep [OPTIONS] PATTERN ...
0
votes
0answers
30 views

[Solved]man crashes on OS X after upgrading bash and its manpages

Bash on OS X is always so old that I finally decided to compile a never(4.3.18) one and simply override and replace the old one. Here are the configure flags I used: ./configure --prefix=/ ...
2
votes
1answer
62 views

How to match a particular form of optional sequence from a manual synopsis, including variations?

In this Q&A there is a reference to the manpages synopses being based "loosely" on the Extended Backus–Naur Form of metasyntax notation. It's interesting and serves as background. That being said, ...
11
votes
3answers
283 views

Search for man pages which contain ALL of the words 'foo' 'bar' and 'baz'

I'd like to search for man pages which contain ALL of the words 'foo', 'bar' and 'baz'. If possible, I'd like to search through all text (not just name & description) of all man pages. I'm ...
4
votes
2answers
174 views

How do you correctly extract all command synopses from manpages in /usr/share/man/man1?

I'm trying to extract all command synopses from manpages in /usr/share/man/man1 using: #!/usr/bin/env bash ## synopses - extract all synopses in /usr/share/man/man1 cd /usr/share/man/man1 for i in ...
2
votes
4answers
208 views

How to divide the output of one command by the output of another?

I would like to know the server load divided by the amount of CPU cores in order to judge which servers are overloaded. I can get the amount of CPU cores with: $ grep -c processor /proc/cpuinfo 2 I ...
2
votes
1answer
378 views

Where is the documentation for net.ipv4.conf.all.log_martians?

Where is the documentation for net.ipv4.conf.all.log_martians sysctl setting? There are man pages for various other TCP/IP/UDP (man 7 tcp, man 7 upd, man 7 ip) settings, but I cant find the ...
1
vote
1answer
18 views

Can't search for flags in qalter's man page?

I was trying to find out what qalter's -r flag does, but I can't search for -r when viewing the man page for it (pattern not found). Yet it's clearly there. If you scroll down a bit you'll see it. Why ...
2
votes
2answers
759 views

uuencode Command not found but man working fine

I am trying to mail using uuencode but it says command not found while if I check man, I get it proper without any error. Is it that my binary has gone and just docs remaining ? This is unusal though ...
1
vote
0answers
51 views

NetBSD: /etc/man.conf man search path does not work

I've added a new man page directory /usr/local/share/man/man1b which contains files like e.g. troff.1b In /etc/man.conf I added _subdir ...some names... man1b _default ...
14
votes
1answer
311 views

Is there a way to search manpages for typical use scenario?

I have a relatively small brain, so there is a limit to what I can store up there. I have been using Linux semi-pro-amateur for a few years and still I am amazed at how little commands I know. Simple ...
2
votes
1answer
19 views

Correct way to document variable length options in man pages

Sometimes I see usage information like some_utility [arg [arg [...]]] or some_utility [arg[, arg[...]]] that indicates that you can pass more than one of the same argument. I've also seen it ...
2
votes
3answers
244 views

Can I disable all man pages?

Specifically on a raspberry pi (running Raspbian Wheezy), but also in general, can I disable all man pages? This would mean no stored man pages, no "processing triggers for man-db", and so on and so ...
1
vote
1answer
31 views

Forwardticks in example command in `man emerge`: local misconfiguration or typo?

In Manpage of EMERGE it is stated: To find files that need to be updated in /etc, type find /etc -iname ´._cfg????_´* Taking a closer look at it (copy-pasted from terminal -- not from the online ...
3
votes
1answer
158 views

“The entry is a door” in Solaris “ls” man page

I found this in a man page for ls in solaris linux. http://www.unix.com/man-page/opensolaris/1/ls/ What does it mean when it says: D the entry is a door?
3
votes
1answer
52 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
69 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
108 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
47 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. ...
2
votes
2answers
219 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
77 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
187 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
39 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
503 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
36 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
28 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
73 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 ...