Translate


<computeroutput>$ </computeroutput><userinput>whatis scp</userinput>
<computeroutput>scp (1) - secure copy (remote file copy program)</computeroutput>
SourceTranslationState
36
kernel routines.
内核例程。
37
It is possible to specify the section of the manual page that you are looking for: to view the documentation for the <function>read</function> system call, you would type <command>man 2 read</command>. When no section is explicitly specified, the first section that has a manual page with the requested name will be shown. Thus, <command>man shadow</command> returns <citerefentry><refentrytitle>shadow</refentrytitle><manvolnum>5</manvolnum></citerefentry> because there are no manual pages for <foreignphrase>shadow</foreignphrase> in sections 1 to 4.
如果出现上述的冲突情况,你可以在使用手册页面查看文档的时候指定对应的分类数字(section):例如浏览系统调用<function>read</function>的文档时,你可以键入<command>man 2 read</command>。如果不指定具体的分类数字(section),系统则会从小到大获取第一个数字作为默认值。因此直接输入<command>man shadow</command>的时候,系统就会返回 <citerefentry><refentrytitle>shadow</refentrytitle><manvolnum>5</manvolnum></citerefentry>的文档内容,这是在分类页面1-4都没有<foreignphrase>shadow</foreignphrase>这个命令的手册页面所导致的。
38
<emphasis>TIP</emphasis> <command>whatis</command>
<emphasis>TIP</emphasis> <command>whatis</command>命令
39
<primary><command>whatis</command></primary>
<primary><command>whatis</command>命令</primary>
40
If you do not want to look at the full manual page, but only a short description to confirm that it is what you are looking for, simply enter <command>whatis <replaceable>command</replaceable></command>.
如果你只是想显示一些简短的描述来确认所输入的命令是否自己所需,不希望显示完整的手册页面的话,只需要输入<command>whatis <replaceable>command</replaceable></command>就可以了。
41

<computeroutput>$ </computeroutput><userinput>whatis scp</userinput>
<computeroutput>scp (1) - secure copy (remote file copy program)</computeroutput>

<computeroutput>$ </computeroutput><userinput>whatis scp</userinput>
<computeroutput>scp (1) - secure copy (remote file copy program)</computeroutput>
42
This short description is included in the <emphasis>NAME</emphasis> section at the beginning of all manual pages.
这部分描述同样包含在手册页面的<emphasis>NAME</emphasis>部分。
43
Of course, if you do not know the names of the commands, the manual is not going to be of much use to you. This is the purpose of the <command>apropos</command> command, which helps you conduct a search in the manual pages, or more specifically in their short descriptions. Each manual page begins essentially with a one line summary. <command>apropos</command> returns a list of manual pages whose summary mentions the requested keyword(s). If you choose them well, you will find the name of the command that you need.
当然,如果你连命令的名字都不知道,手册页面恐怕就无能为力了。遇到这种情况,我们可以用命令 <command>apropos</command> 来解决,这个命令能帮你查询手册页面的功能,或者简要的描述。每个手册页面都有一个单行的描述。<command>apropos</command> 返回手册页面请求的关键字列表。关键字选择得恰当,就能通过此工具很快得到结果。
44
Finding <command>cp</command> with <command>apropos</command>
通过<command>apropos</command>查找 <command>cp</command>命令
45

<computeroutput>$ </computeroutput><userinput>apropos "copy file"</userinput>
<computeroutput>cp (1) - copy files and directories
cpio (1) - copy files to and from archives
gvfs-copy (1) - Copy files
gvfs-move (1) - Copy files
hcopy (1) - copy files from or to an HFS volume
install (1) - copy files and set attributes
ntfscp (8) - copy file to an NTFS volume.
</computeroutput>

<computeroutput>$</computeroutput><userinput>apropos "copy file"</userinput>
<computeroutput>cp (1) - 拷贝文件与目录
cpio (1) - 从压缩包当中拷贝文件
gvfs-copy (1) - 拷贝文件
gvfs-move (1) - 拷贝文件
hcopy (1) - 从HFS分卷中拷出或拷入文件
install (1) - 拷贝文件并设置文件属性
ntfscp (8) - 拷贝文件到NTFS分卷
</computeroutput>
46
<emphasis>TIP</emphasis> Browsing by following links
<emphasis>提示</emphasis>通过以下链接浏览

Loading…

Loading…

Things to check

Glossary

Source Translation
device file 设备文件

Source information

Flags
xml-text
Source string age
3 years ago
Translation file
zh-CN/​07_solving-problems.po, string 41
String priority
Medium
Failing checks