【RHCA+】info命令(模块化的命令帮助文档)
“ 目录:RHCA+ -> 1 基础 -> 14-3 info命令(模块化的命令帮助文档) ”
和man帮助文档类似,但是模块化显示,通过链接显示不同的信息块,类似于网页方式查询;语法格式:info [命令]
比man更详细,记录命令的更新历史记录
按键 | 作用 |
Tab | 切换为显示超链接 |
N | 进入下一信息块 |
P | 进入上一信息块 |
U | 返回上一层;通常用来查看目录 |
空格键 | 向下翻一页 |
q | 退出 |
文档参数含义 | 作用 |
File | 显示当前查看的info文件名 |
Node | 当前查看的信息块名称 |
[root@wuzuniao ~]# info ls #查看ls命令帮助
File: coreutils.info, Node: ls invocation, Next: dir invocation, Up: Directory listin\
g
10.1 'ls': List directory contents
==================================
The 'ls' program lists information about files (of any type, including
directories). Options and file arguments can be intermixed arbitrarily,
as usual.
For non-option command-line arguments that are directories, by
default 'ls' lists the contents of directories, not recursively, and
omitting files with names beginning with '.'. For other non-option
arguments, by default 'ls' lists just the file name. If no non-option
argument is specified, 'ls' operates on the current directory, acting as
if it had been invoked with a single argument of '.'.
By default, the output is sorted alphabetically, according to the
locale settings in effect.(1) If standard output is a terminal, the
output is in columns (sorted vertically) and control characters are
output as question marks; otherwise, the output is listed one per line
and control characters are output as-is.
Because 'ls' is such a fundamental program, it has accumulated many
options over the years. They are described in the subsections below;
--zz-Info: (coreutils.info.gz)ls invocation, 58 lines --Top------------------------------
Welcome to Info version 5.1. Type h for help, m for menu item.
[root@wuzuniao ~]#
