LPI
010-100 · Question #83
010-100 Question #83: Real Exam Question with Answer & Explanation
The correct answer is A. man -k copy. 'man -k' performs a keyword search across all manual page names and short descriptions, equivalent to the 'apropos' command.
Question
Which command line can be used to search help files that mention the word "copy"?
Options
- Aman -k copy
- Bwhatis copy
- Cman copy
- Dcopy help
- Ecopy --help
Explanation
'man -k' performs a keyword search across all manual page names and short descriptions, equivalent to the 'apropos' command.
Common mistakes.
- B. 'whatis copy' displays only the one-line description for a command named exactly 'copy', and does not search across all man pages for keyword matches.
- C. 'man copy' attempts to open the man page for a command specifically named 'copy', rather than searching all pages for the keyword.
- D. 'copy help' is not a valid Linux shell command; 'copy' is a Windows command and does not exist natively in Linux.
- E. 'copy --help' is not valid because 'copy' is not a standard Linux command, so no --help flag exists for it.
Concept tested. Searching manual pages with man -k (apropos)
Community Discussion
No community discussion yet for this question.