Loading practice questions
Which of the following commands will output "onetwothree"?
Correct Answer: C — for n in one two three; do echo -n $n; done
Explanation:
The command for n in one two three; do echo -n $n; done loops through the words and prints them without trailing newlines, resulting in "onetwothree".