man - format and display the on-line manual pages

learn more… | top users | synonyms

0
votes
0answers
21 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?
-3
votes
0answers
34 views

where can i find the good man pages? [closed]

I have read the man pages that have come along with the red hat os.But it takes too long to understand the documentation. I want to know about the good sites which provide more clear man pages.
8
votes
1answer
383 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
325 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
68 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
17 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
130 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
38 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 ...
37
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
766 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
44 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, ...
22
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?
4
votes
3answers
77 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
37 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
51 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
19 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
173 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
27 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
45 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
123 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
5k 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 ...
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
26 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=/ ...
105
votes
6answers
11k 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
165 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
53 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
178 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
249 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
335 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
45 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
308 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
155 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 ...
23
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
27 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 ...
5
votes
2answers
210 views

Is there a archive of old man pages? specifically for the features available for grep in early 'ed'

This is just a bit of history rummaging... I'd like to know how different today's grep is to the original implementation, introduced by Ken Thompson in ed. which evolved to ex, which then became vi... ...
2
votes
1answer
125 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
47 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 ...
7
votes
3answers
97 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
59 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 ...
1
vote
1answer
42 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
180 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 ...
22
votes
18answers
3k views

Tricks and tips for finding information in man pages

Does anyone have any tricks and tips for finding information in man pages?
1
vote
0answers
70 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 ...