Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

info Command Guide

info is the GNU documentation system: hyperlinked, node-based manuals you browse in the terminal. Where a man page is a flat document, an info page is closer to a wiki — you follow links between topics, and the documentation of GNU tools like bash, coreutils, grep, and make lives here first.

What is info, and Why Use It?

You want to understand how bash scripting really works — variables, expansion, here-documents, the whole model. The man page for bash lists options; the Bash Reference Manual in info explains the language. Same for make, grep, tar, and every other GNU project.

# Browse the coreutils manual
info coreutils

# Jump straight to the node about ls
info ls

If a GNU tool has deep behavior you’re trying to understand, info is usually the better read.

Basic Usage

# Open the top-level directory node
info

# Open a specific manual
info coreutils

# Jump to a specific node by name
info 'Bash Builtins'

# Open the manual for the tool itself
info info

Unlike man, info doesn’t use a pager — it renders and pages on its own, with its own keybindings.

Info documents are made of nodes — pages linked to each other. The navigation keys:

KeyAction
nNext node
pPrevious node
uUp one level
lReturn to the last node you were at
qQuit info
? or HShow info’s own help
s patternSearch forward within the manual

The *note Top: line at the bottom of a node is a link — move the cursor onto it with the arrow keys and press Enter to follow it. That’s the hyperlink part: info is a hypertext system that predates the web.

info vs man

Both document the same tools, but they’re built differently:

  • man — plain text, one page per command, fast to search with grep.
  • info — hyperlinked nodes, organized as a manual with a table of contents, better for learning a tool deeply.

Rule of thumb: quick flag reference → man; conceptual understanding of a GNU tool → info. Many commands document themselves in both places, and the two can disagree — info is usually the more complete account.

Reading Info Without Installing It

Info manuals are stored as files under /usr/share/info/. You can often read them with less when info itself isn’t installed:

ls /usr/share/info/
less /usr/share/info/coreutils.info*

(Those are raw Info-format files — readable, but without the hyperlinks.)

Common Pitfalls

  • info: command not found. Slim systems and containers may omit the info reader even when the manuals are installed. Install the info package, or read the raw files under /usr/share/info/ with less.
  • Quoting node names. Node names contain spaces and punctuation (info 'Bash Builtins'). Without quotes the shell splits the name and info opens the wrong node or errors.
  • Ctrl-C doesn’t always quit. Use q. Info traps some signals, and Ctrl-C can leave your terminal in a odd state.
  • Not everything is documented here. Non-GNU tools (most of the BSD- descended utilities, many modern packages) have man pages but no info pages. When info says “No menu item”, fall back to man.
  • The top node is dir, not the tool. info with no arguments opens the master directory of all installed manuals — a good map of what’s available on your system.
  • man — the flat, universal alternative
  • less — read the raw info files when info is missing
  • type — know what a command is before reading its docs

Cheatsheet

CommandWhat it does
infoOpen the top-level manual directory
info coreutilsBrowse the coreutils manual
info lsJump to the node about ls
info 'Bash Builtins'Open a node with spaces in its name
n / pNext / previous node
uUp one level
lReturn to the last node
qQuit