LPI
117-010 · Question #20
What is the output of the following command sequence? for token in a b c; do echo -n "$token "; done
The correct answer is B. a b c. See the full explanation below for the reasoning.
Question
What is the output of the following command sequence? for token in a b c; do echo -n "$token "; done
Options
- Aanbncn
- Ba b c
- C"a " "b " "c "
- Dtoken token token
- Eabc
How the community answered
(39 responses)- A3% (1)
- B72% (28)
- C15% (6)
- D8% (3)
- E3% (1)
Community Discussion
No community discussion yet for this question.