Harley Hahn's Guide to
|
A Personal Note
Chapters...
Command
INSTRUCTOR |
Exercises and Answers for Chapter 9...
Documentation: The Unix Manual 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
Answer When looking at an Info node, use:
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
Answer Display the man page by using: man sh Then:
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
Answer Display the Info node by using: info info Then:
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. Exercises: Introduction | Chapter list
© All contents Copyright 2024, Harley Hahn
|