Linux Foundation Certified System Administrator (LFCS) — Question 94
Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?
Answer options
- A. <<
- B. <|
- C. !<
- D. &<
Correct answer: A
Explanation
The correct answer is A (<<), as this character is specifically designed to read input until a separator is found. The other options do not serve this purpose and are not recognized as valid input reading commands in this context.