JNCIA-Junos: Juniper Networks Certified Associate – Junos (2022) — Question 5
In the show | compare rollback 49 command, what is the purpose of the | ?
Answer options
- A. The | is used to represent an "either or" statement
- B. The | is a shortcut to redirect output from a command line to a file
- C. The | filters the output of the show command T
- D. The | changes the command from an operational command to a configuration mode command
Correct answer: C
Explanation
The correct answer is C because the | operator is utilized to filter the output of commands in a shell environment. Options A, B, and D are incorrect as they misinterpret the function of the pipe operator, which does not represent conditions, does not redirect output to files, and does not change command modes.