man - format and display the on-line manual pages

learn more… | top users | synonyms

1
vote
0answers
28 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 ...
2
votes
3answers
148 views

Which command has the longest manual?

How can I tell which commands have the longest manual pages?
7
votes
1answer
103 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 ...
0
votes
1answer
13 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 ...
24
votes
4answers
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?
12
votes
3answers
7k views

Ctrl-s hang terminal emulator?

I came across a sentence in vimdoc: Note: CTRL-S does not work on all terminals and might block further input, use CTRL-Q to get going again. and this key indeed hangs my vim. I was ...
10
votes
3answers
3k views

Difference between help, info and man command

I know that these command will help to get syntax and options for commands but my question is that how they differ from each other?
5
votes
3answers
407 views

How to print (part of) a man page?

The question is: how do you print only part of a man page? Currently I do zcat manpage.1.gz | vim - and just remove everything I don't want to print. Then I pass that through groff and lpr. Are there ...
2
votes
1answer
25 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 ...
1
vote
3answers
85 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
88 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 ...
0
votes
0answers
23 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?
2
votes
0answers
84 views

What are the difference between man1, man2, man3… folders? [duplicate]

Possible Duplicate: What do the numbers in a man page mean? What are the differences between manX pages? Why are they separated?
8
votes
1answer
446 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
3
votes
4answers
331 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
72 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 ...
1
vote
3answers
161 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, ...
2
votes
1answer
52 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 ...
9
votes
3answers
6k views

Man pages for standard C and C++ libraries on Fedora 14

How do I install them? At present, man fopen gives me No manual entry for fopen. I have the compilers installed and have verified that things do build without problems. Update: This is what I got ...
39
votes
6answers
5k views

How to follow links in linux man pages?

Is there a way to follow the links mentioned in a man page? For example, here's the man page for ps; how do I access the link marked in red?
2
votes
3answers
965 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?
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 ...
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, ...
4
votes
3answers
81 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 ...
1
vote
1answer
38 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
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
52 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
48 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 ...
7
votes
4answers
1k views

How to dump a man page?

How can I 'cat' a man page like I would 'cat' a file to get just a dump of the contents?
0
votes
0answers
29 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=/ ...
113
votes
6answers
12k 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 ...
4
votes
2answers
172 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
1answer
59 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 ...
2
votes
4answers
201 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 ...
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
1answer
341 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 ...
2
votes
2answers
667 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
50 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
310 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
216 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 ...
25
votes
3answers
4k views

Colors in Man Pages

When I look at a man page in my 'console' (not an xterm) I see some coloration, but I don't get this in my xterm's (e.g. konsole) is there any way I can enable this? hopefully a fairly simple ...
1
vote
1answer
29 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 ...