|
5.01 Help Utilities
man -
displays
a system manual
Options:
-a
all man pages for a chosen utility.
-h
print a one-line help message
and exit
Man pages are divided into
sections:
-
User Commands-Executable programs or shell commands
-
System Administration Commands-usually only for the root user
-
System Calls-functions provided by kernel
-
Library Calls-subroutines-functions within system libraries
-
Special Files-usually found in /dev as they relate to device files
-
File Formats and Conventions, such as /etc passwd and other configuration
files
-
Games
-
Macro packages and conventions (man page formats and so on), sometimes
called “Miscellaneous”
-
Kernel Routines – kernel internal variable and functions
Examples: How to use
the command man in a terminal.
whatis - search
whatis database for complete words. A short descriptions of system commands
apropos - search
whatis data base for strings. # (Search information about a command
or subject.)
--help - this
option display information about the utility.
Example: How to use
command --help in a terminal.
|
[bash]$ls
–-help | less #
(piped ( | )
utility less allows
to scrolling threw the screen) |
info - display
information about utility
Options:
h to go through interactive tutorial
on info
?
to list info commands
SPACE
to scroll through the menu of items for which information is available
m
follow by the name of the menu item you want to display
q
to quit
|