info
info linux command cheatsheet by Thamizhiniyan C S
Introduction
This command is used to read the documentations of commands in the Info Format. It's an alternative to the man page. The info command reads the info files, which are stored as nodes in tree structure. Each info file contains hyperlinks to the next node. Using hyperlinks another nodes can be accessed.
Syntax
info [OPTION]... [MENU-ITEM...]
Important Flags
Flag | Description |
---|---|
| Use all matching manuals. |
| Look up STRING in all indices of all manuals. |
| Add DIR to INFOPATH. |
| Specify Info manual to visit. |
| Display this help and exit. |
| Specify nodes in first visited Info file. |
| Output selected nodes to FILE. |
| Go to command-line options node. |
| Assign VALUE to Info variable VAR. |
| Display version information and exit. |
| Print physical location of Info file. |
Interactive Mode Commands
Command | Description |
---|---|
| Display command help |
| Display previous page |
| Display next page |
| Next—display the next node |
| Previous—display the previous node |
| Up—display the parent node of the currently displayed node, usually a menu |
| Follow the hyperlink at the cursor location |
| Quit |
Examples
Command | Description |
---|---|
show top-level dir menu | |
It uses all matching manuals and displays them for a particular command. | |
It looks up STRING in all indices of all manuals and then displays the same. | |
It adds DIR to INFOPATH and also displays the same. | |
It goes to the command-line options node for a particular command and displays the same. | |
It prints the physical location of the Info file. | |
To check the manual page of the info command. | |
To check the help page of the info command. | |
show the manual for this Info program | |
start at emacs node from top-level dir | |
select buffers menu entry in emacs manual | |
start at Files node within emacs manual | |
alternative way to start at Files node | |
start at node with emacs' command line options | |
dump entire emacs manual to out.txt | |
show file ./foo.info, not searching dir |
Last updated