man - format and display the on-line manual pages

learn more… | top users | synonyms

2
votes
3answers
81 views

How to search the whole manual pages on Linux?

Sometimes I need to look up certain words through all the manual pages. I am aware of apropos, but if I understand its manual right, it restricts search to the descriptions only. Each manual page ...
0
votes
4answers
95 views

Is there a Linux graphics program that displays man commands in a browser?

Is there a Linux graphics program that displays man commands in a browser? I need a program that allows me to display all man commands in a browser, or in some graphics program, so that they can be ...
1
vote
2answers
38 views

What are unimplemented system calls?

I was revising Linux system calls. I found that a few calls are unimplemented system calls. For example: afs_syscall. I don't understand why they are included in man pages if they are not yet ...
2
votes
1answer
55 views

Is there a pdf or text file for manpages of all commands/utilities? [closed]

Is there a single pdf or text file for manpages of all commands/utilities? I would like to add my comment to manpages which can be stored in my personal directory. Depending on availability, this ...
43
votes
8answers
3k views

How do I use man pages to learn how to use commands?

While researching another problem, I came across a command, locate something | xargs -I {} bash -c "if [ -d "{}" ]; then echo {}; fi" that I wanted to learn more about. So I ran man xargs and get ...
1
vote
0answers
16 views

Usage of ellipse in synopsis of command line argument

From http://pubs.opengroup.org/stage7tc1/basedefs/V1_chap12.html Ellipses ( "..." ) are used to denote that one or more occurrences of an operand are allowed. When an option or an operand ...
-1
votes
0answers
19 views

Why is the infobar of the man pages displaying the line number as x/y wherein x < y when it reaches 100 %?

I just installed the program ii and opened its manual entry by typing man ii in the shell. As I scrolled down towards the end the percentage neared twoards 100 while the line number increased, yet the ...
1
vote
0answers
51 views

Install man on FreeBSD 10.1 based pfsense 2.2

I'm running a pfsense 2.2 router. While not required most of the time, sometimes using the console is the way to go. Unfortunately pfsense doesn't come with /usr/bin/man I was able to run pkg pkg ...
0
votes
0answers
15 views

using man command for a system call close [duplicate]

So if we have an executable program called close on linux, and theres also a system call close. How can i generate a command that makes sure i get the manual for the system call "close" rather than ...
0
votes
1answer
28 views

What is a Kernel Routine ?

In another answer I met a short overview of the sections of the man pages: commands for $-User system call, that means evoking a function from the Kernel library call, that means evoking a function ...
4
votes
5answers
290 views

Showing all pages at once with man command [duplicate]

Say if I run the command man who, I have to keep pressing space or enter to show all content. Is there a way to show all of the content at once?
3
votes
0answers
31 views

Convention/standard on using curly braces around options

Man page for tar in arch linux SYNOPSIS section starts with: tar {A|c|d|r|t|u|x}[GnSkUWOmpsMBiajJzZhPlRvwo] [ARG...] I perfectly understand that in this situation it means that exactly one of them ...
0
votes
1answer
17 views

Get information on tools/packages that are not installed [closed]

How can I get information about packages I have not installed (other than a web search)? For example, imagine I am interested in iftop. If I do a web search I can find a wikipedia article and the man ...
1
vote
0answers
52 views

Why doesn't manpage show the available options?

When I open a manual in bash in Linux Mint 17.1, e.g. man man, the available options are not shown. Why is that and how do I fix it?
23
votes
1answer
779 views

What is the deal with mandb and stray cats?

The man page for mandb refers to stray cats: -s, --no-straycats Do not spend time looking for or adding information to the databases regarding stray cats. There is no ...
4
votes
4answers
97 views

Viewing man pages with scroll wheel support

I'd like to use the scroll wheel (xterm mouse escape codes) to scroll through man pages, like I can in emacs with xterm-mouse-mode. less doesn't seem to have support for that and short of recompiling ...
0
votes
2answers
28 views

How to find documentation about macros in the manpages?

I've been working on a Routing Protocol and looking at legacy code for different routing protocols. I constantly find different macros where I it is very hard to find it in the header files because ...
0
votes
2answers
61 views

How can I open a man page in a new terminal window?

I'm wondering if anyone can help me with a workflow issue. I sometimes open up a man page for a command, take note of several command options and parameters, go back to the command line and then input ...
0
votes
0answers
244 views

No manual entry for man

I'm working in a Centos 6.6 Docker image. I thought I installed everything to get access to man pages, but apparently not... $ yum install -y man man-pages man-pages-overrides [...] Complete! $ ...
18
votes
6answers
808 views

Is there way to see `man` document only for specified option of a command

If I want to know the meaning of wget -b, I see the manual by man wget, then search the -b option. -b --background Go to background immediately after startup. If no output file is ...
1
vote
1answer
81 views

Make Less highlight search patterns instead of italicizing them

To my understanding man uses less as a pager, and when searching for keywords using less it "highlights" keywords with italics. I find that really inconvenient, so I'd like to change this to something ...
2
votes
2answers
53 views

What hotkeys are supported when reading a man page?

People usually know after running man fdisk that they can search with: /foo (where foo is the string to be searched for). They can also use Up/Down and PgUp/PgDown to scroll up and down. What ...
3
votes
1answer
40 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 ...
2
votes
1answer
184 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 ...
3
votes
2answers
77 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
31 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
57 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 ...
2
votes
1answer
62 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 ...
1
vote
1answer
23 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 ...
1
vote
1answer
46 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
57 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 ...
15
votes
3answers
678 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 ...
2
votes
1answer
206 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
218 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
33 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
202 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?
9
votes
1answer
159 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
376 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
100 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
0answers
113 views

How to filter any part of description or option from manpage [closed]

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
27 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
38 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
492 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
112 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
42 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 ...
3
votes
1answer
244 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
34 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
534 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
63 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
32 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 ...