Linux Essentials 2.0 Chapter 6 Exam Answers

NDG Linux Essentials 2.0 Chapter 6 Exam Answers

  1. What is the standard option to provide a command line program to view its documentation?

    • -h
    • –info
    • –help
    • –doc
  2. The command man -k is the same as the command apropos.

    True or False?

    • True
    • False
  3. The whatis command is the same as man -w.

    • False
    • True
  4. 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
  5. Which two pager commands are used by the man command to control movement within the document?

    (choose two)

    • grep
    • less
    • page
    • more
  6. Commands typically executed by a user are covered in what section of the manual?

    • 5
    • 3
    • 2
    • 1
  7. 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
  8. 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.
  9. 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
  10. The following sections commonly appear on a man page:

    (choose three)

    • NAME
    • LICENSE
    • DESCRIPTION
    • SYNOPSIS
  11. Section 5 of the manual pages covers:

    • System administration commands
    • Games
    • User commands
    • File Formats
  12. To start searching a man page, the first key you press is:

    • f
    • /
    • s
    • !
  13. In order to exit viewing a man page, press:

    • q
    • z
    • x
    • y
  14. To get help on using the info command, execute:

    (choose two)

    • man info
    • info -q
    • info info
    • help info
  15. To get help while using the info command, press:

    • g
    • A
    • Shift+H
    • Shift+z
  16. To exit the info page, press:

    • Q
    • x
    • z
    • x
  17. 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
  18. The _____ command is normally executed daily to update the database of all files that are on the system.

    • find
    • locate
    • search
    • updatedb
  19. The _____ command is normally executed to search for a command or man page.

    • updatedb
    • whereis
    • find
    • man -k
  20. The _____ command can be used to find any file, not just commands or man pages.

    • apropos
    • whereis
    • whatis
    • locate
  21. The info command merges all available documentation into a single “book”.

    True or False?

    • True
    • False
  22. Section 9 of man pages relates to what?

    • Library Calls
    • Games
    • Kernel Routines
    • System Calls
    • Miscellaneous
  23. The man command searches each of the sections in order until it finds a match.

    True or False?

    • True
    • False
  24. The whatis command will only return the first result for which section a man page is stored in.

    True or False?

    • True
    • False