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
3
votes
1 answer

Where are the POSIX message functions (msgsnd, msgrcv, etc) man pages in Mac?

I wanted to view the manual pages for the POSIX standard message functions: msgsnd, msgrcv, etc. All of them are defined in sys/msg.h and code using them works. But the manual pages are nowhere to be found, neither in my computer (Mac OS X Mountain…
gjulianm
  • 834
  • 7
  • 22
3
votes
1 answer

Pointing man pages to different location

In my environment, I am installing a different SSH server other than openSSH. When I issue a man ssh command, for example, I want it to point to the new ssh server man page, rather than the openssh man page. The only way I have seen to do it so far…
Vinnie Biros
  • 109
  • 2
  • 6
3
votes
2 answers

Get man pages for driver functions

I am new to linux device drivers. I would like to know if there are man pages for the driver functions like register_chrdev. If yes, then how do I get them? Is there a package that I can download using apt-get?
Parth Shah
  • 31
  • 2
3
votes
2 answers

bash script for man with custom output

I'm trying to do a bash script which gives me only the first line of man for "n" commands. example: $ sh ./start.sh ls wazup top ls - list directory contents wazup - manpage does not exist top - display Linux tasks This is my current code: !…
UraniumSnake
  • 465
  • 1
  • 4
  • 7
3
votes
1 answer

Replace "man" by "?"

I am using R a lot. In R, you can call a man page for a function by writing ?print I got used to that so much that I intermittently type that in a bash shell window as well. Now, I have set up an alias ?='man' that almost cuts it: I can do, for…
January
  • 16,320
  • 6
  • 52
  • 74
3
votes
2 answers

How to obtain man page contents in Python?

im running linux and i want to import some man pages to my application. i came up with this: p = subprocess.Popen(('man %s' % manTopic,), shell = True, stdout = subprocess.PIPE) stdout, stderr = p.communicate() if stdout: but its no good, man is…
BPS
  • 1,133
  • 1
  • 17
  • 38
3
votes
2 answers

How do I go directly to a particular (short) option on a manpage

Often I will open up the manpage for a command already knowing the option I am searching for and read its description. Sometimes simply searching for the option works immediately, sometimes the option is referenced elsewhere, sometimes the option…
U2EF1
  • 12,907
  • 3
  • 35
  • 37
3
votes
3 answers

Create man pages for my own C library

In some C-source file I've seen comments in the format: /** * @bla bla bla * bla bla.. */ Someone told me that if I comment my .c / .h files properly, then with a certain tool I can autogenerate man pages from those files automatically. Does…
user1584773
  • 699
  • 7
  • 19
2
votes
2 answers

How can I search a PowerShell Get-Help entry?

On Linux, I often use grep with context to find usage information in man pages. Something like man ls | grep -e '-a' -A 5 will give me enough context to know what the -a option does. I think Select-String can do something similar, but I can't seem…
Kris Harper
  • 5,672
  • 8
  • 51
  • 96
2
votes
3 answers

No manual entry for fcntl problem

When I use `man fcntl' got the message: No manual entry for fcntl which the pkg is needed to install? ps. I use debian.
qrtt1
  • 7,746
  • 8
  • 42
  • 62
2
votes
2 answers

Catching wrong array reference in C++

How do I catch wrong array reference in C++? Why doesn't the following code work: #include int * problemNum = new int; int (* p [100])() = {problem1, problem2, problem3}; ... try { cout <<…
Alex
  • 43,191
  • 44
  • 96
  • 127
2
votes
6 answers

How do I install the Git man pages on OS X?

I installed Git via the Mac OS X link here http://git-scm.com/download After installing it, I try the following in the Terminal: $ git help fetch $ git help remote $ man git $ man git-fetch However, I get the message No manual entry for…
Kit
  • 30,365
  • 39
  • 105
  • 149
2
votes
3 answers

No man page for rails command

I can't access rails man page. How can I fix this? Thanks nuno@Houdini:~/workspace/depot_a$ man rails man: can't resolve /usr/share/man/man1/rails.1.gz: No such file or directory No manual entry for rails edit: But how come some people have a man…
nunos
  • 20,479
  • 50
  • 119
  • 154
2
votes
1 answer

How to convert AsciiDoc to Perl POD?

How to convert manpage written in AsciiDoc lightweight markup language automatically into Perl's POD (Plain Old Documentation)? Perhaps something that converts from DocBook to POD (the conversion from AsciiDoc sources to manpage format i.e. troff…
Jakub Narębski
  • 309,089
  • 65
  • 217
  • 230
2
votes
1 answer

How to set all arguments of the Title line in manpage written in reStructuredText, converted to groff with pandoc

How can I get pandoc to properly set all of the arguments in the "Title line" (.TH) when converting from a .rst file to a man file? According to the documentation man man-pages, the "Title line" takes positional arguments: Title line The…
Michael Altfield
  • 2,083
  • 23
  • 39