Font size
WorksheetsLinux Manual Pages Quiz
Total questions: 24
Worksheet time: 12mins
What is the standard option to provide a command line program to view its documentation?
-h
--help
--info
--doc
The command man -k is the same as the command apropos.
True
False
The whatis command is the same as man -w.
True
False
The directory where additional documentation for software packages most likely can be found is:
/usr/share/doc
/var/share/doc
/var/lib/doc
/usr/software/doc
Which two pager commands are used by the man command to control movement within the document?
page
more
less
grep
Commands typically executed by a user are covered in what section of the manual?
2
5
3
1
To search the man page sections for the keyword example, which of the following command lines could you execute?
man -k example
apropos example
man -f example
whatis example
The statement that describes the difference between a man page and an info page is:
The info page is like a guide; a man page is a more concise reference.
The man page is like a guide; the info page is a more concise reference.
There is very little difference between them.
The man page is a long detailed reference; the info page is very terse.
If you are reading the synopsis of a command from a man page, then items in square [] brackets are:
Optional
Comments
Required options
Required arguments
The following sections commonly appear on a man page:
SYNOPSIS
DESCRIPTION
NAME
LICENSE
Section 5 of the manual pages covers:
User commands
Games
File Formats
System administration commands
To start searching a man page, the first key you press is:
s
!
f
/
In order to exit viewing a man page, press:
x
q
y
z
To get help on using the info command, execute:
info -q
man info
help info
info info
To get help while using the info command, press:
A
Shift+H
Shift+z
g
To exit the info page, press:
x
x
Q
z
When interpreting the SYNOPSIS of a command found on a man page, the “|” means:
The items it separates cannot be used together
The items it separates can be used together
The _____ command is normally executed daily to update the database of all files that are on the system.
locate
updatedb
find
search
The _____ command is normally executed to search for a command or man page.
updatedb
man -k
find
whereis
The _____ command can be used to find any file, not just commands or man pages.
whatis
locate
whereis
apropos
The info command merges all available documentation into a single “book”.
True
False
Section 9 of man pages relates to what?
Games
System Calls
Kernel Routines
Miscellaneous
Library Calls
The man command searches each of the sections in order until it finds a match.
True
False
The whatis command will only return the first result for which section a man page is stored in.
True
False
