JN0-105 · Question #92
Which character is used to filter the command output in the Junos CLI?
The correct answer is A. |. In the Junos CLI, the pipe character | is used as a filter operator to refine command output. This operator can be combined with various filtering commands like match, except, count, etc., to display only the relevant portions of the command output. For example, using | match…
Question
Which character is used to filter the command output in the Junos CLI?
Options
- A|
- B
- C<
- D?
How the community answered
(36 responses)- A81% (29)
- B6% (2)
- C3% (1)
- D11% (4)
Explanation
In the Junos CLI, the pipe character | is used as a filter operator to refine command output. This operator can be combined with various filtering commands like match, except, count, etc., to display only the relevant portions of the command output. For example, using | match <pattern> filters the output to show only the lines that contain the specified pattern, making it easier to find specific information within extensive command output. This functionality is especially useful in managing and troubleshooting complex configurations and network states, allowing for more efficient analysis of the device's operational status and configuration details.
Topics
Community Discussion
No community discussion yet for this question.