BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation Exam LFCS Topic 4 Question 71 Discussion

Actual exam question for Linux Foundation's LFCS exam
Question #: 71
Topic #: 4
[All LFCS Questions]

What is the output of the following command?

for token in a b c; do

echo -n ${token};

done

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Denae
5 months ago
That makes sense, the echo command just displays the tokens without any additional characters.
upvoted 0 times
...
Levi
5 months ago
I'm leaning towards 'abc' as well, since it echoes the tokens without spaces.
upvoted 0 times
...
Denae
5 months ago
I think it might be 'anbncn'.
upvoted 0 times
...
Socorro
5 months ago
I believe the output would be 'abc'.
upvoted 0 times
...
Levi
6 months ago
What do you think the output of the command is?
upvoted 0 times
...

Save Cancel