JN0-106 User Interfaces Practice Question
A user wants to see all available commands starting with 'show'. Which key should they press after typing 'show'?
⚠ Common exam trap
The trap here is that candidates familiar with Cisco IOS may expect the Tab key to list completions, but in Junos, Tab only auto-completes a unique command, while '?' is used to list all available options.
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
✓
?
In the Junos CLI, pressing the '?' key after typing a partial command like 'show' displays a list of all available commands or options that start with that string. This is the standard context-sensitive help feature in Junos, which is distinct from other CLI behaviors.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Space
Why it's wrong here
Pressing the Space bar in the Junos CLI simply inserts a space character into the command line being typed. It does not invoke any completion, help, or list of possible keywords; it only separates words or arguments in a partially entered command. Therefore, while it might seem like a natural way to advance, it will never enumerate commands that start with 'sh'.
- ✓
?
Why this is correct
The '?' character is the Junos CLI's context-sensitive help trigger. When typed after a partial command like 'sh', the CLI immediately displays a list of all available commands that begin with that prefix, such as 'show' and 'show log'. This differs from completion or recall functions because it explicitly shows all matching possibilities rather than filling in one result or retrieving history.
- ✗
Tab
Why it's wrong here
The Tab key performs command completion in the Junos CLI, but only if the entered prefix uniquely identifies a command. For a prefix like 'sh', which matches multiple commands (e.g., 'show', 'show ospf', 'show route'), Tab will not list them; it may do nothing or beep to indicate ambiguity. Because it does not display all available commands, it fails the user's request to see all options.
- ✗
Ctrl-P
Why it's wrong here
Ctrl-P is the standard Emacs-style key binding for recalling the previous command from the CLI history buffer. It does not interact with the command parser's help system at all, so it will never show commands beginning with 'sh' or any other prefix. Its purpose is purely to navigate through previously entered commands, making it irrelevant to the user's request for command discovery.
Go deeper
Related to this question
About these practice questions
One of 326 original JN0-106 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This JN0-106 practice question is part of Courseiva's free Juniper Networks 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 JN0-106 exam.