man - format and display the on-line manual pages

learn more… | top users | synonyms

2
votes
1answer
13 views

Searching through C++ STL man pages without having to add “std::” every time

I have installed libstdc++6-4.7-doc on a machine with Ubuntu, so I could look up for things like std::pair from the command line. Is there a way to search for the same std:: entries without ...
4
votes
3answers
375 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
2answers
65 views

Why can't I grep this command line option?

The output of man icc contains -Ldir Tells the linker to search for libraries... Doing man icc | grep "\-L" gives back the "-Ldir" line while man icc | grep "\-Ldir" does not. What am ...
2
votes
1answer
164 views

In what section do descriptions of C data-structures go?

I read the following answer QA about what the various sections of the man-pages represent: What do the numbers in a man page mean? Upon reading it, I wasn't sure what section is for descriptions of C ...
2
votes
1answer
24 views

How to show Man Page from file?

I'm making a text editor, and I'm making some man pages for it. What I'd like to know is how to use man to read a file. Also, I'm pretty sure that to make bold text in a man page, making INTRODUCTION ...
2
votes
3answers
49 views

Find command associated with configuration file

Let's say I didn't know what ~/.bashrc is for. Is there a command that would tell me what the file is/does? Other than googling for an answer. The man pages have a files section, maybe there is a way ...
4
votes
4answers
503 views

Linux's man alternatives

Are there any alternatives to linux's man? I know many users used to man and for them it's useful and best way to find what they want, but i'm looking for something which is focused on examples. Is ...
1
vote
1answer
36 views

How to make man(1) use the entire terminal width?

I'm on FreeBSD, using a wide xterm with, say, 132 characters per line. When running $ man man the manual page is formatted to fit an 80 character per line terminal width. Is there a way to make the ...
125
votes
6answers
14k 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 ...
1
vote
1answer
20 views

How do I specify command invocation for a mandatory short or long option?

I'm writing a specification for a tool that needs a -f / --foo option with a mandatory argument BAR, so for example these are valid calls: tool -f BAR tool --foo BAR How do I specify this syntax in ...
15
votes
3answers
600 views

Why don't shell builtins have proper man pages?

All shell builtins share the same manual page: BUILTIN(1) BSD General Commands Manual BUILTIN(1) NAME builtin, ! etc. Then there is a little text describing ...
1
vote
1answer
33 views

When to use man and man -k to check manual pages?

When should one use man and when man -k to check man pages? Whenever I'd like to check a man page I get confused with which one I should. Should I use this: man -k xyz or this: man xyz. Some man ...
0
votes
2answers
41 views

difference between gnu tar and tar package in fedora repositories

man page of tar in fedora (and also man page of tar on die.net) mentions the --acls and --xattrs and --selinux options but they are not mentioned in tar manual in GNU website Why? do this mean ...
11
votes
2answers
17k views

What units of time does “top” use?

If I issue the "top" command and receive results such as: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 00001 bob 25 0 77380 1212 1200 R 95.8 0.0 89122:13 fee ...
17
votes
6answers
603 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 ...
7
votes
1answer
101 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, ...
2
votes
1answer
54 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 ...
23
votes
4answers
1k views

How can I add man page entries for my own power tools?

I have no idea about how I can make my home-grown specialist scripts (written mostly in Bash and Perl) available through the man pages. What procedure would I have to follow, and is there a ...
2
votes
2answers
189 views

Where is said 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 ...
2
votes
3answers
176 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?
25
votes
19answers
5k 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
53 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 ...
8
votes
1answer
131 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
20 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?
20
votes
3answers
10k 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 ...
11
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
488 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
111 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
92 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.
0
votes
1answer
19 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
34 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
565 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
380 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
90 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
28 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
274 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, ...
3
votes
1answer
106 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
7k 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 ...
42
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?
3
votes
3answers
1k 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
55 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
87 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
43 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
54 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
175 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. ...