Getting Help M06 Exam

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

    • -h
    • --help
    • --info
    • --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.

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

    (choose two)

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

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

    (choose three)

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

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

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

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

    (choose two)

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

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

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

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

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

    • whatis
    • locate
    • whereis
    • apropos
  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?

    • Games
    • System Calls
    • Kernel Routines
    • Miscellaneous
    • Library Calls
  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