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 2 Question 73 Discussion

Actual exam question for Linux Foundation's LFCS exam
Question #: 73
Topic #: 2
[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:

Wei
6 months ago
I believe the correct answer is B) abc, as the echo command will output each token without any spaces.
upvoted 0 times
...
Alita
6 months ago
I agree with Alex, because the command is just echoing each token.
upvoted 0 times
...
Sabrina
6 months ago
I think the output is E) a b c.
upvoted 0 times
...
Lonny
7 months ago
Correct! The output is abc.
upvoted 0 times
...
Emelda
7 months ago
B) abc
upvoted 0 times
...
Alex
7 months ago
What is the output of the following command?
upvoted 0 times
...

Save Cancel