Linux command
info 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Read manual for command
info [command]
Start at top directory
info
Go to specific node
info -n "[node_name]" [command]
Search in manuals
info --apropos=[keyword]
Output to stdout
info -o - [command]
Use specific file
info -f [file.info]
说明
info reads documentation in GNU's texinfo format. It provides hypertext navigation through structured documentation organized as nodes in a tree. The reader supports navigation between nodes, menus, and cross-references. Common navigation keys: n (next node), p (previous node), u (up), l (last visited), q (quit), / or s (search), Tab (next link), Enter (follow link).
参数
- -f _FILE_
- Read specified info file.
- -n _NODE_
- Start at named node.
- -o _FILE_
- Output to file (- for stdout).
- --apropos _STRING_
- Search all manuals for string.
- -w, --where
- Print location of info file.
- --all
- Use all matching manuals.
- --subnodes
- Recursively output menu items.
- -k _STRING_, --index-search _STRING_
- Look up STRING in all indices of all manuals.
- --help
- Display help information.
FAQ
What is the info command used for?
info reads documentation in GNU's texinfo format. It provides hypertext navigation through structured documentation organized as nodes in a tree. The reader supports navigation between nodes, menus, and cross-references. Common navigation keys: n (next node), p (previous node), u (up), l (last visited), q (quit), / or s (search), Tab (next link), Enter (follow link).
How do I run a basic info example?
Run `info [command]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -f _FILE_ do in info?
Read specified info file.