Tagged Questions

man - format and display the on-line manual pages

learn more… | top users | synonyms

4
votes
1answer
243 views

What does this tcpdump line means?

Reading the manpage of tcpdump I found this example tcpdump 'tcp[tcpflags] & (tcp-syn|tcp-fin) != 0 and not src and dst net localnet' but I don't understand it, especially the last part. The ...
1
vote
1answer
85 views

What means the “integer argument” in system call descriptions? [duplicate]

Possible Duplicate: What do the numbers in a man page mean? All system calls described in manpages have an associated number such as exec(3). What is the meaning of this number?
4
votes
1answer
277 views

man gives the error about locale

I have $ locale LANG=en_GB.UTF-8 LC_CTYPE=ru_RU.UTF-8 LC_NUMERIC=en_GB.UTF-8 LC_TIME=en_GB.UTF-8 LC_COLLATE=ru_RU.UTF-8 LC_MONETARY=ru_RU.UTF-8 LC_MESSAGES=en_GB.UTF-8 LC_PAPER=ru_RU.UTF-8 ...
9
votes
2answers
15k 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 ...
3
votes
1answer
75 views

How can you change the format command used by man?

I'd like to define a new command that prints man pages to PostScript, but using a page size different than the default. For example, on Mac OS X you can run man -t ls | open -f -a Skim to open the ...
3
votes
4answers
1k views

how to word wrap, align text like the output of man?

what is the command that word wraps and justifies a text file so that the output looks like that of a man page: All of these system calls are used to wait for state changes in a child ...
1
vote
2answers
263 views

Copying man pages from tmux copy mode

I am in xterm on Pangolin, inside a tmux session, in copy mode. I am trying to copy the text of a man page but what I yank into the clipboard by using the simple vi bindings of spacebar/enter is text ...
4
votes
3answers
2k views

On Ubuntu Linux, is it normal for mandb to run continuously (apparently in the background)?

I have access to a Ubuntu Linux node at my institution. The nodes are shared among the group, but typically I am the only person who uses this particular node. I am running a calculation in parallel ...
4
votes
1answer
245 views

unixODBC documentation / manpage?

Just wondering if there is any official documentation for unixODBC, e.g. how the configuration files have to look like and what parameters they expect? (I am using only a shell, no GUI) Even ...
5
votes
3answers
414 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 ...
7
votes
4answers
258 views

How do I check man pages for what single parameter of the command does?

Example: I am using tar -zxvf command but I don't know what 'x' stands for. How can I check this single parameter without having to scroll all the way through man tar?
6
votes
1answer
416 views

Emacs mode for man pages

I'm translating man pages, and have run in to a few problems with Emacs. How do you specify language? (With man, it looks like this man -Lsv shutdown for the Swedish "sv" subdirectory, if ...
2
votes
1answer
167 views

Where is tcl-doc man page stored?

I installed tcl-doc. Prior to installation "man tcl" gave nothing. Now it gives a page. When I do "dpkg -L tcl-doc" I get /. /usr /usr/share /usr/share/doc /usr/share/doc/tcl-doc ...
10
votes
2answers
1k views

How do you output a list of all man pages in a particular section?

A man page for fork, for example, is in the System Calls section that has number 2: man 2 fork How do you see what else is section 2 without resorting to Google?
3
votes
3answers
2k views

localization of man pages on Linux (Ubuntu)

Is there an option to output a manual page in a different language? I don't want to change the computer language completely, but only specific manual pages. For example $ man -English man Man is a ...
7
votes
2answers
1k views

Find and install man file manually

I seem to be missing some man pages, notably gcc and g++. It doesn't help that I specify the section. whereis doesn't list man pages for those two, so I think they are simply not there. With Google I ...
1
vote
1answer
190 views

How do I localize man pages for chinese?

Doing the prerequisite google search didn't turn up anything: I'm looking for a way to install and use localized chinese versions of the man pages (assuming there is some localized package somewhere). ...
8
votes
4answers
490 views

View man page of not installed package?

On Debian-based systems, can one view the man page of packages that aren't yet installed? I want to check what they are capable first, before installing them.
1
vote
1answer
110 views

attr man page missing?

How does one search for certain manpages (such as http://linux.die.net/man/5/attr)? Trying: man attr and man -K attr don't seem to work. Any ideas why?
2
votes
2answers
164 views

Archive of QNX's use messages?

Context I do not know all standard linux/unix commands, so I need manpages. I found QNX's manuals (invoked by "use [command name]") terse; I prefer them to linux manpages. I can get them from QNX ...
6
votes
1answer
138 views

Nested lists in man page

I have a command line parameter that takes a number of flags afterwards, which I would like to have as a list inside the parameter list in the man page. Currently I am simply making lines of Flag - ...
-1
votes
1answer
63 views

About the command and the number in the man [duplicate]

Possible Duplicate: What do the numbers in a man page mean? such as: http://www.postfix.org/qmgr.8.html The qmgr(8) daemon awaits t what's the meaning of 8? just don't know it.
4
votes
2answers
2k views

Can I create a man page for a script? [duplicate]

Possible Duplicate: How can I add man page entries for my own power tools? Most (if not all) Linux commands have their man pages that describe their usage options etc. Can I create similar ...
3
votes
2answers
403 views

Why “man CMD” shows nothing?

After I ran man ls, it shows: Man: find all matching manual pages * ls (1) ls (1p) Man: What manual page do you want? Man: After I entered "1", it shows nothing but "Manual page ls(1) ...
3
votes
2answers
147 views

National characters in manpages

I am trying to get a proper display of national characters with FreeBSD man. I have tried running the following on 8.1 and 9.0: # PAGER=less LANG="pl_PL.UTF-8" man -d -M. ./man.1 -- Using ...
1
vote
2answers
359 views

How do I find the relevant command for something in linux?

For example, say I'm trying to find the command that displays the routing table (like route) or to run a traceroute, but I don't actually know the commands that accomplish this. My understanding is ...
7
votes
3answers
775 views

manpages for my kindle?

I'd like to read unix manpages on my kindle. I know I can just redirect the man output to a file and give it a .txt extension. But is there a convenient way to convert them en masse to a format with ...
3
votes
4answers
556 views

On Unix how do I get the output from the diff command to look like a man page? Where I can press 'b' or 'f' to read further or back?

You know how when you use the man command to read the manual (e.g. man ls) and you get output that is paginated that you can read from top to bottom by pressing 'f' to go read further down and 'b' to ...
4
votes
3answers
463 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 ...
17
votes
4answers
2k views

How can I use man without less?

By default, man uses less to output text. How can I tell it to just output to stdout? My terminal emulator has a scroll bar and search function and I want to use those instead of the arrow keys.
1
vote
1answer
57 views

Reading the man pages in my system with hyperlinks on a browser [duplicate]

Possible Duplicate: How to follow links in linux man pages? I can read man pages online, but they are not necessarily the same that I have installed on my system (i.e. for the same ...
1
vote
2answers
168 views

Differences between man pages

I often find myself reading man pages online instead of from the command line on my system. Part of the reason is because I find it easier to browse this information on a browser on the Internet than ...
6
votes
1answer
243 views

Call man in bash shell for command under cursor

In zsh I can do Esc h for any command, get man page for this command, quit from the man pager and get my command back with all arguments. For example in my shell is entered: zsh# tar -czvf docs.tgz ...
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?
4
votes
2answers
472 views

'man' page is too narrow (not taking advantage of terminal size)

I'm making my first 'man' page and I'm using groff to do it. However, when I "compile" it and view it, it only takes up a certain amount of columns in my terminal. I've tried viewing other man pages ...
1
vote
1answer
128 views

How can I display file info of a man?

I know when you are in a man page it will display the file name at the bottom inside the man. How can I do the same thing manually?
40
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?
16
votes
2answers
2k views

Can I get individual man pages for the bash builtin commands? [duplicate]

Is there anywhere you can download a manpage for every builtin commands? I know you can just use help or man bash and search to find info about it, but I want them separated, so I can just do man ...
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
3answers
829 views

Easy way to restore your MANPATH

I was attempting to add the man pages for my texlive distribution today when I accidentally did this: $ MANPATH=MANPATH:/usr/local/texlive/2011/texmf/doc/man $ export MANPATH ...when I meant this: ...
7
votes
2answers
794 views

Understand synopsis in manpage

I have not being able to understand the synopsis in manpage of a command. For example, let's see the manpage of man itself. By man man: SYNOPSIS man [-C file] [-d] [-D] ...
4
votes
3answers
108 views

Specify the sector of manpage

When man declare in bash, I get the manpage of declarein sql. But I would like to get the manage of declare in shell. How can I do that?
4
votes
2answers
176 views

Why do 'man' pages have many extra lines?

When I run the command: man fork There is a highlight line at the bottom that reads: Manual page fork(2) line 52/99 (END) But when I navigate to line 53 and up to 99, these are just blank ...
5
votes
2answers
380 views

How to control the page parameters (margins, brochurisation) of `man -t` PostScript output?

I want to print several man pages as several booklets. I need to tweak the output of the man -t command so the resulting PostScript file will have the brochurised page numbering, pages must be ...
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?
5
votes
3answers
651 views

How to disable styling on man pages?

Is there an easy way to turn off all styling on man pages? Colors, bold, italics, everything... If not, what is an uneasy way?
1
vote
4answers
278 views

No manual page for regex in section 3 - where is it?

I found What do the numbers in a man page mean? which explains the sections for command/library documentation quite nicely, and I was looking at the output for man regex and noticed the See Also ...
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 ...
5
votes
2answers
223 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... ...
8
votes
2answers
482 views

Dynamically reformatting man pages on terminal dimension changes

One common workflow of mine is to open a manual page in a terminal, then another terminal in which to test things. The man page is formatted to the initial dimensions of the first terminal. When I now ...