Donation?

Harley Hahn
Home Page

Send a Message
to Harley


A Personal Note
from Harley Hahn

Unix Book
Home Page

SEARCH

List of Chapters

Table of Contents

List of Figures

Chapters...
   1   2   3
   4   5   6
   7   8   9
  10  11  12
  13  14  15
  16  17  18
  19  20  21
  22  23  24
  25  26

Glossary

Appendixes...
  A  B  C
  D  E  F
  G  H

Command
Summary...

• Alphabetical
• By category

Unix-Linux
Timeline

Internet
Resources

Errors and
Corrections

Endorsements


INSTRUCTOR
AND STUDENT
MATERIAL...

Home Page
& Overview

Exercises
& Answers

The Unix Model
Curriculum &
Course Outlines

PowerPoint Files
for Teachers

Exercises and Answers for Chapter 9...

Documentation: The Unix Manual
and Info

Review Question #1:

What are the two principal Unix documentation systems?

What commands do you use to access each system?

Answer

The two principal Unix documentation systems are the online manual and the Info system.

To access the online manual you use the man command to read pages, and the apropos and whatis command to look for pages.

To access the Info system, you use the info command.

Review Question #2:

When you are reading a man page, how do you enter a single shell command?

Answer

Type a ! (exclamation mark) character, followed by the command, then press <Return>, for example:

!date

Review Question #3:

When you are looking at an Info node, which commands do you use to:

• Display the help tutorial
• Display the command summary
• Display the next screenful
• Jump to the beginning of the current node
• Jump to the next node
• Jump to the Top Node
• Jump to the Directory Node

Answer

When looking at an Info node, use:

h display the help tutorial
? display the command summary
<Space> display the next screenful
b jump to the beginning of current node
n jump to the next node
t jump to the Top Node
d jump to the Directory Node

Applying Your Knowledge #1:

Use the man command to display the man page for your default shell (man sh). Once the page is displayed, perform the following operations:

• Display the next screenful of information
• Jump to the end of the page
• Jump to the beginning of the page
• Search for the word "variable"
• Search forward several times for the next occurrence of the same word
• Search backwards several times for the same word
• Display a command summary
• Quit

Answer

Display the man page by using:

man sh

Then:

f display the next screenful
G jump to the end of the page
g jump to the beginning of the page
/variable search for the word "variable"
/ search forward for same word
? search backward for same word
h display a command summary
q quit

Applying Your Knowledge #2:

If you are using Linux or FreeBSD, use the info command to display information about the Info system itself (info info).

Once the first node is displayed, perform the following operations:

• Display the next screenful of information
• Jump to the end of the current node
• Jump to the beginning of the current node
• Jump to the Top Node
• Jump to the Directory Node
• Display a command summary
• Quit

Answer

Display the Info node by using:

info info

Then:

n jump to the next node
<Space> display next screenful of information
e jump to the end of current node
b jump to the beginning of current node
t jump to the Top Node
d jump to the Directory Node
? display the command summary
q quit

For Further Thought #1:

The doctrine of RTFM requires people to try to help themselves by reading the documentation before asking for help. What are two advantages of this guideline? What are two disadvantages?

Answer

Advantages:

• Inexperienced users don't bother experienced users unnecessarily.

• People learn to be independent. This allows them to build confidence in their ability to teach themselves, which encourages them to learn more and more.

Disadvantages:

• Beginners can get discouraged, especially if they are not good at teaching themselves.

• It is possible to waste a lot of time tracking down answers to questions that other people might have been able to answer quickly.

Jump to top of page