In this lab, you will research the documentation under
/usr/share/doc to answer questions.
Use your choice of less, gedit, or
a browser to view the documentation file contents.
Outcomes
More familiarity, through practice, with the types of information that developers include with their software packages.
Perform the following steps on serverX unless directed otherwise.
Where can you find the latest news about the vim project?
[student@serverX ~]$cd /usr/share/doc[student@serverX doc]$less vim-common-*/README.txt
View the vim-common README and search for “news”.
What is the wiki URI for the yum package?
[student@serverX doc]$less yum-3*/README
Search for “wiki” in /usr/share/doc/yum-3*/README.
What examples are provided for the command-line bc calculator?
[student@serverX doc]$ls -l bc-*/Examples
Found in the directory /usr/share/doc/bc-*/Examples.
How would you read the provided GRUB2 manual?
[student@serverX doc]$firefox grub2-tools-*/grub.html
Use firefox to display
/usr/share/doc/grub2-tools-*/grub.html.
What software provides its document as a separate package?
[student@serverX doc]$yum list *-doc*[student@serverX doc]$cd[student@serverX ~]$
Use yum to display only those packages that contain “-doc”, “-docs”, or “-documentation” in the package name. When finished, return to the home directory.