Linux Foundation Certified System Administrator (LFCS) — Question 88
Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)
Answer options
- A. <
- B. <<<
- C. >
- D. >>>
- E. %>
Correct answer: A, B, C
Explanation
The correct answers are A, B, and C. The operator '<' is used for input redirection, '<<<' is a here string for passing a string as input, and '>' is used for output redirection. Options D and E are not valid stream redirection operators in Bash.