Questions tagged [manpage]

Man pages are the documentation pages that come preinstalled with almost all substantial Unix and Unix-like operating systems

https://en.wikipedia.org/wiki/Man_page

486 questions
6
votes
1 answer

Why does the shell output often use `mixed_characters' in its output?

I see backtick ( ` ) (also called a grave accent) characters mixed with apostrophe characters ( ' ) used together in all kinds of command-line output. Surely the reason/history behind why is documented online somewhere, but I couldn't find where.…
ele
  • 6,021
  • 5
  • 25
  • 35
6
votes
3 answers

Manpage scandir() prototype weirdness

I have a problem with scandir(): The manpage contains this as prototype: int scandir(const char *dir, struct dirent ***namelist, int (*filter)(const struct dirent *), int (*compar)(const struct dirent **, const struct dirent **)); Therefore I…
unexist
  • 2,518
  • 23
  • 27
6
votes
2 answers

Reading PHP man pages in Vim

I have setup the ability to read the PHP manual via pman as described here: http://bjori.blogspot.com/2010/01/unix-manual-pages-for-php-functions.html In my .vimrc file I have added the following so I can press K to read the man page in a new split…
jayem
  • 229
  • 2
  • 11
5
votes
1 answer

man pages for Javascript for use within VIM

I couldn't find a good answer for this question so I figured I'd ask. I'd really like to find some man pages for javascript for use within VIM. This way I could place my cursor over a method or global object and press K in command mode to open up…
elju
  • 445
  • 1
  • 5
  • 15
5
votes
6 answers

Git man page seems incorrect

I'm new to git, so please excuse me if this is a dumb question. I have installed git 1.7.7.4 from source on SLES Linux, and all looks good. I have added the following to $MANPATH: /usr/local/git-1.7.7.4/share/man When I do man git, I'm presented…
Banjer
  • 8,118
  • 5
  • 46
  • 61
5
votes
6 answers

How do I access Git User’s Manual[1] using the terminal?

In the man page of git, there is a line which says: See gittutorial(7) to get started, then see giteveryday(7) for a useful minimum set of commands. The Git User’s Manual[1] has a more in-depth introduction. How do I see the "The Git User's…
Hari Om
  • 69
  • 8
5
votes
5 answers

How to make a man page for my shell script?

How do I create a man page for my shell script? I couldn't find a beginner approach on how to make man pages on Google. What is the easiest way to make my own Man page, based of a template, and install it with my script?
Miguel M
  • 302
  • 3
  • 16
5
votes
1 answer

a2x fails to compile my manpage

I have a an Asciidoc document foo.1.txt, and, following the instructions here, I tried to compile it with a2x as follows: a2x --doctype manpage --format manpage foo.1.txt After this, I got the following error: a2x: ERROR: "/usr/bin/asciidoc.py"…
Koz Ross
  • 3,040
  • 2
  • 24
  • 44
5
votes
3 answers

How to install man page for Maven on linux?

I am using linux(mint mate), and installed maven by download & unzip & config the environment, I could use the mvn command. I want to have man mvn, not just mvn -help, any tip? @Update: To make the question clear, there is no man page for mvn,…
Eric
  • 22,183
  • 20
  • 145
  • 196
5
votes
2 answers

How to run C functions in shell?

While learning C, I've recognized that you can see the manual of its functions within linux shell (I've been using BASH). For example: man strlen man crypt man printf I'd figured that maybe I could use those functions in shell scripting. Is this…
Raynal Gobel
  • 991
  • 15
  • 25
5
votes
4 answers

How to install docker man pages on Mac os

I've installed docker on mac os as written in documentation. But in some docs (for example in the docker book) I see the recomendations to use man docker-run (man docker-pull, etc). But when I run such command I get the…
bessarabov
  • 11,151
  • 10
  • 34
  • 59
5
votes
2 answers

info command and man pages

Fedora 19 {though I doubt that's relevant] If I invoke the info command for a topic that doesn't actually have an info node, but does have a man page, info will apparently create a node named (*manpages*) from the man page -- on the fly. I…
RoUS
  • 1,888
  • 2
  • 14
  • 29
5
votes
1 answer

What's the meaning of "[]", "<>", "{}" in SYNOPSIS of a command?

Here are some examples: from man page of a command: $ man man man [-acdfFhkKtwW] [--path] [-m system] [-p string] [-C config_file] [-M pathlist] [-P pager] [-S section_list] [section] name ... ... from…
Yishu Fang
  • 9,448
  • 21
  • 65
  • 102
5
votes
2 answers

Linux: How to find man page or different versions of Linux commands?

I'm not sure what it's called exactly. But offen in a Linux 'man' page it refers to the same command but a different "version" number. For example: $ man signal Is SIGNAL(2), but there refers to a SIGNAL(5), for example. I tried this but it doesn't…
Edward
  • 9,430
  • 19
  • 48
  • 71
5
votes
1 answer

What do the numbers after command and system call names mean in *nix?

I often see number-suffixed command or system call names in man pages or other documentation, for example, splice(2). Although, some publications don't include the numbers, for example, Splice on Wikipedia. I never found an explanation of what the…
Cetin Sert
  • 4,497
  • 5
  • 38
  • 76