Deal of The Day! 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 9 Question 77 Discussion

Actual exam question for Linux Foundation's LINUX FOUNDATION CERTIFIED SYSTEM ADMINISTRATOR exam
Question #: 77
Topic #: 9
[All LINUX FOUNDATION CERTIFIED SYSTEM ADMINISTRATOR 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:

Tambra
13 days ago
I'm going with B. Anything else would be like trying to herd cats - just a mess waiting to happen.
upvoted 0 times
...
Adelina
17 days ago
Option E? Really? That's just listing the tokens, not printing them sequentially. *chuckles* Some people just want to watch the world burn, don't they?
upvoted 0 times
...
Floyd
18 days ago
Option C is a bit too meta for my liking. Let's keep it simple, folks.
upvoted 0 times
Ora
6 days ago
A) anbncn
upvoted 0 times
...
...
Milly
26 days ago
Hmm, I'm going with option B. It's the most straightforward and logical answer.
upvoted 0 times
Silva
13 days ago
I agree, option B seems like the right choice.
upvoted 0 times
...
Silva
17 days ago
I think option B is correct too.
upvoted 0 times
...
...
Florinda
1 months ago
I agree with Aleisha, the output should be abc because the command will echo each token without any spaces.
upvoted 0 times
...
Aleisha
1 months ago
I think the output is option B) abc.
upvoted 0 times
...
Craig
2 months ago
The output is clearly 'abc'. Anything else would just be silly.
upvoted 0 times
Madelyn
20 days ago
I agree, it should be 'abc'.
upvoted 0 times
...
Elvis
21 days ago
I think the output is 'abc'.
upvoted 0 times
...
Terina
23 days ago
B) abc
upvoted 0 times
...
Dorothy
1 months ago
A) anbncn
upvoted 0 times
...
Laura
1 months ago
E) a b c
upvoted 0 times
...
Laura
1 months ago
B) abc
upvoted 0 times
...
...

Save Cancel