info
Overview
info reads documentation in Info (Texinfo) format. GNU projects often put their deepest manuals here — structured as a tree of nodes with menus and cross-references — while man pages stay as flatter reference sheets.
For coreutils, bash, and many GNU tools, info can be more complete than the man page. Navigation is keyboard-driven and different from less; invest a few minutes in the keys once.
Syntax
info [options] [menu-item ...]
info [options] -f file [node]
info [options] --index-search=stringCommon Options
| Option | Description |
|---|---|
-f file |
Open a specific Info file |
-n node |
Start at named node |
-a |
Use all matching manuals |
-k string / --apropos |
Search indices for string |
-w |
Show location of Info file |
--index-search=str |
Go to index entry |
--show-options |
Jump to command-line options node (when present) |
--subnodes |
Dump node and subnodes (non-interactive) |
-o file |
Write output to file |
--vi-keys |
Vi-like key bindings |
Examples with Explanations
Open a manual
info ls
info coreutils
info bash
info libcTab completion or the directory node (info with no args, then browse) helps discovery.
Jump to options / a node
info --show-options ls
info -n 'Invoking ls' coreutils
info -f coreutils -n 'Directory listing'Search
info --apropos=printf
info -k symlink
info --index-search=regexWhere is the file?
info -w coreutils
# e.g. /usr/share/info/coreutils.info.gzNon-interactive extract
info --subnodes -o /tmp/ls-info.txt ls
info -o - --show-options ls | head -50Useful for grepping offline or pasting into notes.
Prefer man for quick flags, info for depth
man ls # quick reference
info ls # full GNU narrative + examples
info coreutils # whole suite manualUnderstanding the Info tree
- Directory node — catalogue of installed manuals (
d). - Top node — start of one manual.
- Menus — child nodes (chapters/sections).
- Cross-references —
*note …links between topics. - Indices — topic/command/option indices for search.
Think of it as a hypertext book, not a single scrollable man page.
Notes / Pitfalls
- Missing docs: install packages like
info,bash-doc,coreutilsinfo files (*-docon some distros). - People open
infoonce, hate the UI, and never return — spend five minutes onh/?. - Not every tool has an Info manual; many only ship man pages.
pinfois a friendlier alternative viewer if you install it.- Dumping with
--subnodescan be huge (libc); narrow to a node first.
2026-relevant notes
- Man pages improved a lot for systemd/iproute2; Info still wins for GNU coreutils, findutils, bash, gdb, gcc deep dives.
- In CI/containers, Info files are often omitted; generate or fetch docs on a full workstation.
- Some projects moved primary docs to HTML/web; Info remains the classic offline GNU format.
Additional Resources
info info— the Info reader manual itself- GNU Texinfo / Info documentation