Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
man [options] [section] [title]
Display information from the online reference manuals. man locates and prints the named title from the designated reference section.
Traditionally, manpages are divided into nine sections, where section 1 consists of user commands, section 2 contains system calls, and so forth. By default, all sections are consulted, so the section option serves to bypass the most common entry and find an entry of the same name in a different section (e.g., man 2 nice).
Numerous other utilities—such as info, xman, and the Konqueror browser—can also display manpages.
Expect a pure ASCII file, and format it for a 7-bit terminal or terminal emulator.
Show all pages matching title.
Leave blank lines in output.
Display debugging information. Suppress actual printing of manual pages.
Same as whatis command.
Same as apropos command.
Search local files, not system files, for manual pages. If i is given as filename, search standard input.
Search systems' manual pages. systems should be a comma-separated list.
Preprocess manual pages with preprocessors before turning them over to nroff, troff, or groff. Always runs soelim first to read in files to be included in the one currently being processed. preprocessors can be any combination of e for equations, p for pictures, t for tables, and r for bibliographical references.
Set prompt if less is used as pager.
Format the manual page with /usr/bin/groff -Tgv -mandoc. Implied by -T and -Z.
Perform a consistency check between manual page cache and filesystem.
Print pathnames of entries on standard output.
Display debugging information about how the page was retrieved.
A kind of super-k option. Search for a term in all manpages and display the name of each page, along with a prompt asking whether you want to view the page.
Assume current locale to be locale; do not consult the setlocale( ) function.
Search for manual pages in path. Ignore -m option.
Select paging program pager to display the entry.
Sections to look in for an entry. Like specifying section on the command line, except that multiple section numbers can be specified, separated by colons.
Format groff or troff output for device, such as dvi, latin1, X75, and X100.
Do not allow postprocessing of manual page after groff has finished formatting it.
Manual pages are divided into sections for various audiences:
Executable programs or shell commands.
System calls (functions provided by the kernel).
Library calls (functions within system libraries).
Special files (usually found in /dev).
File formats and conventions (e.g., /etc/passwd).
Macro packages and conventions.
System administration commands (usually only for a privileged user).
Kernel routines (nonstandard).