Getting Help
If you need more information than this book provides, there are several things you can do.
-
Run the
mancommand The
mancommand displays an online manual page, or manpage, for a given program. For example, to learn about listing files withls, run:$ man ls
To search for manpages by keyword for a particular topic, use the
-koption followed by the keyword:$ man -k database
-
Run the
infocommand The
infocommand is an extended, hypertext help system covering many Linux programs.$ info ls
While
infois running, some useful keystrokes are:To get help, type
hTo quit, type
qTo page forward and backward, use the space bar and Backspace keys
To jump between hyperlinks, press TAB
To follow a hyperlink, press Enter
If
infohas no documentation on a given program, it displays the program’s manpage. For a listing of available documentation, typeinfoby itself. To learn how to navigate the info system, typeinfo info.-
Use the
--helpoption (if any) Many Linux commands respond to the option
--helpby printing a short help message. Try:$ ls --help
If the output is longer than the screen, pipe it into the
lessprogram to display it in pages (pressqto quit):$ ls --help | less
- Examine the directory /usr/share/doc
This directory contains supporting documents for many programs, usually organized by program name and version. For example, files for the text editor emacs, version 23, are likely found (depending on distro) in /usr/share/doc/emacs23.
- GNOME and KDE Help
For help with GNOME or KDE, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access