EX200 Essential Tools Practice Question
Which three of the following are valid methods to view the manual page for the 'ls' command? (Choose three)
⚠ Common exam trap
Red Hat often tests the distinction between commands that provide full manual pages ('man', 'info') versus those that give brief summaries ('--help', 'whatis'), and the trap here is that candidates may mistakenly think 'help' or 'whatis' are valid methods for viewing the full manual page.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
man ls
The 'man' command is the primary method for viewing manual pages in Linux. Running 'man ls' displays the full manual page for the 'ls' command, including its description, options, and usage details.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
help ls
Why it's wrong here
The `help` command is a Bash shell builtin that only displays usage information for shell builtins such as `cd`, `echo`, or `export`. It has no access to external executables like `/bin/ls`, which are not part of the shell's internal command set. Running `help ls` yields an error or a "no help topics match" message, because `ls` does not register itself with the shell's help system. For external commands, use `man`, `info`, or `ls --help` instead.
- ✓
man ls
Why this is correct
The `man` utility formats and displays the official manual page for `ls`, which is the canonical reference documentation on most Linux systems. The `ls(1)` man page from GNU coreutils describes all command-line options, exit statuses, and usage examples, and is rendered through a pager such as `less`. Manual pages are numbered by section, and `man ls` automatically finds the user-command entry in section 1. This provides the most comprehensive and authoritative offline documentation for the command.
- ✗
whatis ls
Why it's wrong here
The `whatis` command searches the man page database and returns a one-line summary of what a command does, such as "list directory contents." It does not display the manual page itself, nor does it provide any details about options, syntax, or behavior. `whatis` is designed for rapid identification of a command's purpose, not for learning how to use it. Consequently, it is not a valid method to view full documentation for `ls`.
- ✓
info ls
Why this is correct
The `info` command reads documentation written in the Texinfo format, the GNU project's preferred documentation system, and coreutils includes an info manual for `ls`. This manual offers hyperlinked navigation and often more in-depth explanations than the corresponding man page, covering features and examples in a structured way. If the info page is not installed, `info ls` gracefully falls back to the man page, but when present it provides a valid, fully-featured alternative documentation view for `ls`.
- ✓
ls --help
Why this is correct
Running `ls --help` causes the `ls` executable itself to display a concise usage summary to standard output, including the command's synopsis and a list of common options. This is a built-in feature of GNU coreutils programs and does not rely on any external documentation system or database. The output is usually shorter than the man or info pages, but it is always available and precisely matches the installed version of `ls`. This `--help` flag is a valid and convenient way to view command-line help.
Go deeper
Related to this question
About these practice questions
This EX200 question is part of Courseiva's 427-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This EX200 practice question is part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the EX200 exam.