这里有些例子:
从man命令页面:
$ man man
man [-acdfFhkKtwW] [--path] [-m system] [-p string] [-C config_file] [-M pathlist] [-P pager] [-S section_list] [section] name ...
...
Run Code Online (Sandbox Code Playgroud)
来自http://vim.wikia.com/wiki/Power_of_g:
:[range]g/<pattern>/cmd
Run Code Online (Sandbox Code Playgroud)
来自http://bullium.com/support/vim.html:
:wq {file}
Run Code Online (Sandbox Code Playgroud)
[...]、<...>、{...}、那些没有任何周围环境的东西是什么意思?在 git 的手册页中,有一行这样写:
\n\nSee gittutorial(7) to get started, then see giteveryday(7) for a useful minimum set of commands.\nThe Git User\xe2\x80\x99s Manual[1] has a more in-depth introduction.\nRun Code Online (Sandbox Code Playgroud)\n\n我如何从终端本身查看“Git 用户手册[1]”,而不是在互联网上查找。
\n我有一个任务,我需要在UNIX中使用一些系统调用,如mktime()和fnmatch(),以完成一些操作.我们只给出了要查找函数的手册页的名称.
现在,这对于作业来说是好的.但是在将来当我进行UNIX编程时,我可能不知道确切的名称(我从来不知道fnmatch存在而不知道它的名字第一).
所以问题是:如何获得所有UNIX系统功能的完整列表?我真的不在乎它是否被分类或排序(虽然它会很好),但我想让列表包含描述,以便可以搜索.这样当我需要一个功能时,我可以做一些搜索来找到潜在的候选人,然后我可以让他们找到确切的用法.
我想在调用 man 命令时使用 emacs 查看手册页。我将/etc/man.confPAGER 中的 pager 参数修改为emacs.
但是,它不起作用。有什么我应该修改的吗?
在读取关于jemalloc内存管理器的黑客文章时,黑客一直指的是malloc(3),而不是malloc.我想知道为什么.
他这样做是因为它引用了特定的linux malloc实现吗?或者只是引用所有malloc变体,它们实现了unix/linux手册页第3节(libary函数)中描述的接口?这个选项是我的猜测,想要确定.有不同的原因吗?
那么,黑客是否过于具体?或者malloc和malloc(3)之间有区别吗?
(3)部分不是对黑客文章后面提到的其他文档,文章或研究的引用.
我不确定它到底叫什么。但是在 Linux 的“手册”页面中,它指的是相同的命令但不同的“版本”号。例如:
$ man signal
Run Code Online (Sandbox Code Playgroud)
例如,是 SIGNAL(2),但这里指的是 SIGNAL(5)。我试过了,但它在 Linux CentOS 6 上不起作用:
$ man 5 signal
No entry for signal in section 5 of the manual
Run Code Online (Sandbox Code Playgroud)
如何查找/访问 SIGNAL(5) 的手册页?谢谢!
说我给了man ls。
在此手册页中,我找到了另一个要检查的功能/关键字。说我通过执行找到了函数名/fun_name。现在,我想看看此手册页fun_name。我知道的唯一方法是退出并显示手册页man fun_name。
有捷径吗?
我将输出重定向man djpeg到文本文件中,以便在学习使用它时可以引用它.我的指示是man djpeg > textfile.txt.但是,输出看起来像这样:
LS(1) BSD General Commands Manual LS(1)
NNAAMMEE
llss -- list directory contents
SSYYNNOOPPSSIISS
llss [--AABBCCFFGGHHLLOOPPRRSSTTUUWW@@aabbccddeeffgghhiikkllmmnnooppqqrrssttuuwwxx11] [_f_i_l_e _._._.]
DDEESSCCRRIIPPTTIIOONN
For each operand that names a _f_i_l_e of a type other than directory, llss
displays its name as well as any requested, associated information. For
each operand that names a _f_i_l_e of type directory, llss displays the names
of files contained within that directory, as well as any requested, asso-
ciated information.
If …Run Code Online (Sandbox Code Playgroud) 如何为我的 shell 脚本创建手册页?
我找不到关于如何在 Google 上制作手册页的初学者方法。
基于模板制作我自己的手册页并使用我的脚本安装它的最简单方法是什么?