LPI
010-150 · Question #68
What is the output of the following command? for token in a b c; do echo -n ${token}; done
Sign in or unlock 010-150 to reveal the answer and full explanation for question #68. The question stem and answer options stay visible for context.
The Power of the Command Line
Question
What is the output of the following command? for token in a b c; do echo -n ${token}; done
Options
- Aanbncn
- Babc
- C$token$token$token
- D{a}{b}{c}
- Ea b c
Unlock 010-150 to see the answer
You've previewed enough free 010-150 questions. Unlock 010-150 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#for loop#shell scripting#echo command#loop output