Professional Documents
Culture Documents
Ch02 Documentation
Ch02 Documentation
Documentation
SAIGONLAB 83 Nguyễn Thị Nhỏ, P9, Q.Tân Bình, Tp. HCM LPI 102
Objectives
SAIGONLAB 83 Nguyễn Thị Nhỏ, P9, Q.Tân Bình, Tp. HCM LPI 102
Man pages and man comand
SAIGONLAB 83 Nguyễn Thị Nhỏ, P9, Q.Tân Bình, Tp. HCM LPI 102
Man pages and man comand
Comman Sections
1 - user command
2 - system calls
3 – c library functions
4 – discription of configuration file
5 – file formats (syntax)
Syntax man command
Man <section number> <term>
/etc/man.config
SAIGONLAB 83 Nguyễn Thị Nhỏ, P9, Q.Tân Bình, Tp. HCM LPI 102
Manual Entries
SAIGONLAB 83 Nguyễn Thị Nhỏ, P9, Q.Tân Bình, Tp. HCM LPI 102
Related Commands
Most linux systems (maintain the “index” or old-fashioned so-
called whatis database)
Use whatis command to print the short description of a command.
$whatis man or $man –f man
man (1) - format and display the on-line
manual pages
man (7) - macros to format man pages
Use apropos command to print the short description of
command contain a pattern.
$apropos boot
the output will print description of commands contain boot
word.
SAIGONLAB 83 Nguyễn Thị Nhỏ, P9, Q.Tân Bình, Tp. HCM LPI 102
Info Command
SAIGONLAB 83 Nguyễn Thị Nhỏ, P9, Q.Tân Bình, Tp. HCM LPI 102
Documentation in /usr/doc,
/usr/share/doc
Contain documentation doesn’t fall under man page
or info, include HOWTOs, user guide, FAQs,
READMEs,…Generally classify into these categories
HOWTOs: Detailed guides on how to perform a
particular function or task.A number of HOWTOs
location at Linux Documentation Project’s website
Program-specific: This Documentation included with a
particular package. Documentation include
READMEs, CHANGES,..
Frequently Asked Questions: Also known as FAQs,
contain a list of questions about a topic.Usually in a
question and answer format.
SAIGONLAB 83 Nguyễn Thị Nhỏ, P9, Q.Tân Bình, Tp. HCM LPI 102
Online Documentation
SAIGONLAB 83 Nguyễn Thị Nhỏ, P9, Q.Tân Bình, Tp. HCM LPI 102
Hardcopy Documentation
Three types of hard-copy manuals:
Reference books
Guide books
Tutorials
Some hard-copy documentation
Red Hat Linux Administrator’s handbook, 2nd
Edition
Red Hat Linux 7 Server
Red Hat Linux Survival Guide
download from http://www.evoknow.com
SAIGONLAB 83 Nguyễn Thị Nhỏ, P9, Q.Tân Bình, Tp. HCM LPI 102
Summary
SAIGONLAB 83 Nguyễn Thị Nhỏ, P9, Q.Tân Bình, Tp. HCM LPI 102