info 命令

| 选择喜欢的代码风格  

info 命令补充说明:

就内容来说,info 页面比 man page 编写得要更好、更容易理解,也更友好,但 man page 使用起来确实要更容易得多。一个 man page 只有一页,而 info 页面几乎总是将它们的内容组织成多个区段(称为节点),每个区段也可能包含子区段(称为子节点)。

info 格式类似于 man 的格式,即传统的 Unix 手动格式。 信息还提供了一种将页面链接在一起的健壮结构,类似于超链接。 信息页面是使用 texinfo 工具制作的,通常可以与其他页面链接,创建菜单并简化导航。信息文档的默认位置是 /usr/share/info

info 命令语法:

info [OPTION]... [MENU-ITEM...]

info 命令选项:


info 命令参数:


info 命令实例

info 命令显示顶级信息页面:



$info info

File:,  Node: Top,  Next: Getting Started,  Up: (dir)

Info: An Introduction

The GNU Project distributes most of its on-line manuals in the "Info
format", which you read using an "Info reader".  You are probably using
an Info reader to read this now.

   There are two primary Info readers: 'info', a stand-alone program
designed just to read Info files (*note What is Info?: (info-stnd)Top.),
and the 'info' package in GNU Emacs, a general-purpose editor.  At
present, only the Emacs reader supports using a mouse.

   If you are new to the Info reader and want to learn how to use it,
type the command 'h' now.  It brings you to a programmed instruction

   To read about advanced Info commands, type 'n' twice.  This brings
you to 'Advanced Info Commands', skipping over the 'Getting Started'

   This file describes how to use Info, the on-line, menu-driven GNU
documentation system.

   Copyright (C) 1989, 1992, 1996-2012 Free Software Foundation, Inc.

     Permission is granted to copy, distribute and/or modify this
     document under the terms of the GNU Free Documentation License,
     Version 1.3 or any later version published by the Free Software
     Foundation; with no Invariant Sections, with the Front-Cover texts
     being "A GNU Manual," and with the Back-Cover Texts as in (a)
     below.  A copy of the license is included in the section entitled
     "GNU Free Documentation License" in the Emacs manual.

     (a) The FSF's Back-Cover Text is: "You have the freedom to copy and
     modify this GNU manual.  Buying copies from the FSF supports it in
     developing GNU and promoting software freedom."

     This document is part of a collection distributed under the GNU
     Free Documentation License.  If you want to distribute this
     document separately from the collection, you can do so by adding a
     copy of the license to the document, as described in section 6 of
     the license.

* Menu:

* Getting Started::             Getting started using an Info reader.
* Advanced::                    Advanced Info commands.
* Expert Info::                 Info commands for experts.
* Index::                       An index of topics, commands, and variables.

--zz-Info: (, 52 lines --All------------------------------------------------------------------------------------------------------------------------------------------------------
Welcome to Info version 5.1. Type h for help, m for menu item.

info 命令常用快捷键

 **?键:** 它就会显示info的常用快捷键。
 **x键:** 退出当前帮助UI。
 **N键:** 显示(相对于本节点的)下一节点的文档内容。
 **P键:** 显示(相对于本节点的)前一节点的文档内容。
 **U键:** 进入当前命令所在的主题。
 **M键:** 敲M键后输入命令的名称就可以查看该命令的帮助文档了。
 **G键:** 敲G键后输入主题名称,进入该主题。
 **L键:** 回到上一个访问的页面。
 **SPACE键:** 向前滚动一页。
 **BACKUP或DEL键:** 向后滚动一页。
 **q:** 退出info。

info 命令扩展阅读: