man - format and display the on-line manual pages

learn more… | top users | synonyms

1
vote
2answers
23 views

Jump to specific flag in help/man file

Let's say I'm curious about what a specific flag -T means for a command ls? Is there a way to jump straight to that using man ls...? or, and this is a slightly different question because it's not ...
0
votes
0answers
35 views

Man-pages don't include all relevant information

Consider the man-page of this function: sysconf It doesn't have all the information that I need (e.g. all the system variables to be queried). This is an example of what I need: ...
0
votes
0answers
16 views

Adapt text lines to fixed length [duplicate]

With the shell command fmt -w 30 myfile it is possible to truncate the myfile lines so that their length is at most 30 characters. The result is however not a justified file: some lines will be ...
1
vote
1answer
17 views

Why does using rev as your man pager fail when piping it through rev again?

I recently thought about a devious trick that involves setting the PAGER envionment variable to rev as a joke. When I tried reading the man page for rev with man rev I then saw the man page in reverse ...
1
vote
2answers
96 views

apropos regex start with?

I'm trying to use apropos so that I would look for all man pages starting with system. I try: apropos ^system apropos "^system" but these seem to return lines that don't start with system, but ...
1
vote
1answer
31 views

Viewing Linux Programmer's Manual when mutiple pages bear same name

I want to view the read page of the Linux Programmer's Manual. When I type man read I get the read page of the General Commands Manual. Looking at the man --help I realized I could view all man pages ...
2
votes
1answer
43 views

How do I match the beginning of a line in a manpage?

When I do man zshbuiltins I typically want to search for a command. Suppose I'm looking for info on the alias command. I get a chunk of text like: : [ arg ... ] This command does ...
2
votes
3answers
48 views

How to read this tcpdump man page?

I am trying to use the tcpdump command in a project and I have some difficulties understanding the help page. SYNOPSIS tcpdump [ -AbdDefhgHIJKlLnNoOpPqRStuUvxX ] [ -B buffer_size ] [ -c count ] ...
6
votes
3answers
485 views

Why is the manual for 'where' command not available

I recently came across the command where, which provides the actual path of executables in Linux. I was aware of which, whereis, locate and find, but not where. I want to know when this command got ...
0
votes
2answers
59 views

How do you search ! in man sed?

You cannot search ! directly because it puts process behind. For instance, you cannot search ! in sed man. How can you search ! in man?
1
vote
1answer
43 views

Using apropos command with -a to search multiple keywords on CentOS 7

I'm running CentOS 7.0 build 1503. I'm trying to search for commands I don't know the name of by searching the man descriptions for multiple keywords using AND (e.g. search for a command containing ...
1
vote
1answer
38 views

man page search - how can I turn off the highlighting after matches found?

When using man pages, a commonly used feature is to use / then a search term to get to a word of interest. Once found, all matches remain highlighted - this can often be distracting when I just want ...
16
votes
5answers
2k views

Where is the Programmer's manpage for the open C Function?

I am using debian8 (jessie) and I went to find read the manpage for open. instead I got a warning: $ man 3 open No manual entry for open in section 3 See 'man 7 undocumented' for help when manual ...
4
votes
2answers
207 views

Man page quotation characters [duplicate]

I've just been looking through a few man pages for a few different commands including grep and ifconfig. I've noticed over a few pages, the content uses a strange syntax to notate what i think are ...
4
votes
1answer
58 views

What are the 'n', 'l', '3pm' sections of the manual for?

An excerpt from the man man page: The default action is to search in all of the available sections following a pre-defined order ("1 n l 8 3 2 3posix 3pm 3perl 5 4 9 6 7" by default) What are ...
1
vote
2answers
71 views

How to perform grep on 'man unix_command'?

Often while going through the output of man man awk I Need to perform grep, for e.g. in man awk, I need to find the definition of a particular flag, variable etc. Can anyone tell me, what would be ...
2
votes
2answers
69 views

Where are the details of 'Pathname Expansion' and 'Brace Expansion' in man page? [closed]

I was trying to go through a man page with a calm mind for the first time, and I hit a frustration already 2 minutes down the road. $ man set nocaseglob If set, bash matches ...
2
votes
2answers
67 views

universal help/man command: help builtin partial matches

I found a nice little script which iterates through a couple of manuals for a specific command. As a last resort, it will Google it and open a browser window. Source here: ...
3
votes
1answer
32 views

Unwanted ctrl+h in file saved from man's output

After man less (and optionally hit h for "Summary of less commands"), since man uses less to display the text, I hit s to save the text to a file. When I open the file in emacs or vi, there are ...
3
votes
3answers
130 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
141 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
50 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
58 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 ...
48
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
28 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
vote
0answers
146 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
244 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
300 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
46 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
19 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
58 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
816 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
224 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
32 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
74 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
719 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! $ ...
19
votes
6answers
844 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 ...
4
votes
1answer
260 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
57 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
44 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
191 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
99 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
33 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
58 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
80 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
26 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
55 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
84 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 ...
16
votes
3answers
770 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 ...