Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the info command of Linux

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to use the info command of Linux". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to use the info command of Linux.

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

Specify the topic MENU-ITEM that needs help, which can be commands, functions, and configuration files.

Option description-k,-- apropos=STRING

Look for STRING in all indexes in all manuals

-d,-- directory=DIR

Add a directory that contains help documents in info format

-- dribble=FILENAME

Record user keys in the specified file

-f,-- file=FILENAME

Specify the help document to read in info format

-h,-- help

Display help information and exit

-- index-search=STRING

Go to the node pointed to by the index item STRING

-n,-- node=NODENAME

Specify the node of the info help file that is accessed first

-o,-- output=FILENAME

Output the selected node contents to the specified file

-R,-- raw-escapes

Output original ANSI escape characters (default)

-- no-raw-escapes

Escape characters are output as text

-- restore=FILENAME

Read the initial keystroke from the file FILENAME

-O,-- show-options,-- usage

Go to the command line option node

-- strict-node-location

(for debugging) use info file pointers as is

-- subnodes

Recursively output menu items

-- vi-keys uses binding keys like vi and less-- version

Show version and exit

-w,-- where,-- location

Show info file path

Interactive command

Info has its own interactive commands, which are different from the interactive commands of less used by man.

? Display help window x close help window Q close the entire Info Up up arrow, move one line up Down down arrow, move down one line Space, PageDown scroll to the next page, the last two lines of the current page are reserved for the first two lines of the next page Del, PageUp scroll to the previous page The first two lines of the current page remain as the last two lines of the previous page b, t, Home jump to the beginning e of the document, End jumps to the end of the document [to the previous node in the document] to the next node n in the document, to the next Node p at the same level as the current Node, to the previous Node u at the same level as the current Node, to the previous Node l associated with the current Node, back to the last visited Node m. G enter the name of the specified menu and press enter Jump to the specified menu item (name of Node)

Common examples

(1) View the help documentation for the info command in info format.

Info info

(2) check the help document address of the info command in info format.

Info-w info/usr/share/info/info.info.gz thank you for reading, the above is the content of "how to use the info command of Linux". After the study of this article, I believe you have a deeper understanding of how to use the info command of Linux, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report