info
info linux command cheatsheet by Thamizhiniyan C S
Last updated
info linux command cheatsheet by Thamizhiniyan C S
Last updated
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.
info [OPTION]... [MENU-ITEM...]
Flag | Description |
---|---|
Command | Description |
---|---|
Command | Description |
---|---|
-a, –all
Use all matching manuals.
-k, –apropos=STRING
Look up STRING in all indices of all manuals.
-d, –directory=DIR
Add DIR to INFOPATH.
-f, –file=MANUAL
Specify Info manual to visit.
-h, –help
Display this help and exit.
-n, –node=NODENAME
Specify nodes in first visited Info file.
-o, –output=FILE
Output selected nodes to FILE.
-O, –show-options, –usage
Go to command-line options node.
-v, –variable VAR=VALUE
Assign VALUE to Info variable VAR.
–version
Display version information and exit.
-w, –where, –location
Print physical location of Info file.
?
Display command help
PAGE UP or BACKSPACE
Display previous page
PAGE DOWN or spacebar
Display next page
n
Next—display the next node
p
Previous—display the previous node
U
Up—display the parent node of the currently displayed node, usually a menu
ENTER
Follow the hyperlink at the cursor location
Q
Quit
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