JN0-102 · Question #159
Which command is used to display all output at once?
The correct answer is B. show interfaces | no-more. In Junos OS, the no-more pipe option is used with show commands to display all output continuously without pausing at each screenful. This is particularly useful for scripting or capturing full command output.
Question
Which command is used to display all output at once?
Options
- Ashow interfaces | all
- Bshow interfaces | no-more
- Cshow interfaces | hold
- Dshow interfaces | display-all
How the community answered
(18 responses)- A6% (1)
- B89% (16)
- D6% (1)
Why each option
In Junos OS, the `no-more` pipe option is used with `show` commands to display all output continuously without pausing at each screenful. This is particularly useful for scripting or capturing full command output.
`| all` is not a valid pipe option in Junos OS for disabling pagination; there is no equivalent `all` option for this purpose.
The `| no-more` pipe option is a standard Junos OS CLI feature that disables pagination for the command output, causing all results to be displayed at once without pausing. This is ideal for viewing large outputs or for automation where full, continuous output is desired.
`| hold` is not a recognized pipe option in Junos OS for controlling output pagination.
`| display-all` is not a valid pipe option in Junos OS for disabling pagination; it is not a recognized command modifier.
Concept tested: Junos CLI output display options
Source: https://www.juniper.net/documentation/us/en/software/junos/junos-cli/topics/concept/cli-output-options.html
Topics
Community Discussion
No community discussion yet for this question.