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