manpage

Where is the 'man' Program for Windows (Program to open UNIX man pages)?

陌路散爱 提交于 2019-12-20 08:48:42
问题 I'm looking for the windows executable for the linux man (manual reader). I tried googling around, but got frustrated with the kind of results it came up with, owing to 'man' being such a common phrase. I got results that read "man executed in texas..". So I look to the SO community now. Any clues? Here's my need: I have Portable Git on windows. It has a bash windows binary. But when it tries to show me help for some commands, the poor thing complains that "there is no manual reader". So if I

How to add entry in Linux man page database

我们两清 提交于 2019-12-17 18:37:41
问题 I have a manual page for mongoose web server named as mongoose.1 as a result of doing make and make install command to install mongoose web server on my ubuntu 12.04. But ,the man page entry is not in manual page database. output on my command line when I did : "man mongoose" akshay@akshay-Inspiron-N5010:~/mongoose$ man mongoose No manual entry for mongoose See 'man 7 undocumented' for help when manual pages are not available. I know the path of all man pages where they are stored is:- /usr

What does the number in parentheses shown after Unix command names in manpages mean?

跟風遠走 提交于 2019-12-17 02:24:57
问题 For example: man(1), find(3), updatedb(2)? What do the numbers in parentheses (Brit. "brackets") mean? 回答1: It's the section that the man page for the command is assigned to. These are split as General commands System calls C library functions Special files (usually devices, those found in /dev) and drivers File formats and conventions Games and screensavers Miscellanea System administration commands and daemons Original descriptions of each section can be seen in the Unix Programmer's Manual

Which system calls can return EINTR or EAGAIN error codes? [closed]

若如初见. 提交于 2019-12-13 11:29:52
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . Which of the following system calls can return EINTR or EAGAIN/EWOULDBLOCK? getsockname() chdir() bind() fcntl() listen() setsid() setsockopt() socket() stat() unlink() access() accept() open() usleep() dup2() fork() waitpid() wait() read() write() Some of these system calls

what is a regular file on unix

旧城冷巷雨未停 提交于 2019-12-12 08:23:09
问题 I saw the man page of test. where the below is mentioned. -e pathname True if pathname resolves to a file that exists. False if pathname cannot be resolved. -f pathname True if pathname resolves to a file that exists and is a regular file. False if pathname cannot be resolved, or if pathname resolves to a file that exists but is not a regular file. the -f flag says True if pathname resolves to a file that exists and is a regular file Could anybody please tell what is a regular file and what

Sorting a column of CSV file resulting in 1123 appearing before 232

跟風遠走 提交于 2019-12-11 21:19:15
问题 Specific question - bad title I am trying to sort a set of CSV data like - 2014/06/04 13:19:06.970,1124,Post Request,200,OK,text,true,,782,1,0 2014/06/04 13:18:27.241,237,Post Request,200,OK,text,true,,303,1,0 2014/06/04 13:12:15.973,2224,Post Request,200,OK,text,true,,1551,1,0 2014/06/04 13:12:31.365,238,Post Request,204,No Content,,true,,237,1,0 2014/06/04 13:12:29.892,1429,Post Request,204,No Content,,true,,237,1,0 using - sort -t"," -k2,3 The result is 2014/06/04 13:19:06.970,1124,Post

How to change man page section of debian software?

自古美人都是妖i 提交于 2019-12-11 14:39:49
问题 The package's manual page is in section 1 but I want it in section 8. What kind of changes do I have to do in git? I tried renaming the package.1 file to package.8, but it did not help at least when I created the package by dpkg-buildpackage . 回答1: You have to denote the section in the contents of the manual page file. If you create the file by help2man you have to use --section option, in this case --section=8 . man 1 dh_installman (for version 11.1.6ubuntu2) tells: If dh_installman seems to

Menu help syntax of a program

浪子不回头ぞ 提交于 2019-12-11 10:44:23
问题 Are there some rules or pattern on how to write the terminal help menu of a program on linux? Usually I use these arguments: -? or -h or -H to display the help of my program but is there a rule about that as well? 回答1: The output for --help is not really a menu, just a help message. There are some coding rules, in particular the GNU coding standards specify something about --help (and also --version ). I strongly suggest supporting both of them; as a user, I am pissed off by the few programs

Getting the org-mode manual in emacs

末鹿安然 提交于 2019-12-11 05:31:47
问题 How can I get access to the org-mode manual from within emacs? I've seen this suggested: C-h i m Org Mode RET But the org-mode manual isn't available that way in emacs 24.3.1. Is there a melpa package or something similar I can install to get the org-manual in emacs info mode? 回答1: If you are on Ubuntu, Debian or a related distributions, do: apt-get install emacs24-common-non-dfsg While the Org Mode manual is part of the standard Emacs distributions, Debian, Ubuntu and related distributions

Display man page from stdin

不羁的心 提交于 2019-12-10 17:33:37
问题 I am developing a man page using rst. While I am doing that, I would like a quick way of displaying my end result. I currently do it like this: rst2man < the-man-page.rst > tmp man ./tmp Is there a way to do this with a one liner without creating a temporary file? I have tried to pipe the output directly to the man command. 回答1: You can use the --local-file argument of the man command and specify - to read from stdin. Example: rst2man < the-man-page.rst | man -l - 来源: https://stackoverflow