Cyber Monday 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 9 Question 77 Discussion

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

Tambra
5 months ago
I'm going with B. Anything else would be like trying to herd cats - just a mess waiting to happen.
upvoted 0 times
Kenny
4 months ago
I agree, B) abc is the correct output.
upvoted 0 times
...
Lenita
4 months ago
B) abc
upvoted 0 times
...
...
Adelina
6 months 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
6 months ago
Option C is a bit too meta for my liking. Let's keep it simple, folks.
upvoted 0 times
Dan
5 months ago
B) abc
upvoted 0 times
...
Ora
5 months ago
A) anbncn
upvoted 0 times
...
...
Milly
6 months ago
Hmm, I'm going with option B. It's the most straightforward and logical answer.
upvoted 0 times
Silva
5 months ago
I agree, option B seems like the right choice.
upvoted 0 times
...
Silva
6 months ago
I think option B is correct too.
upvoted 0 times
...
...
Florinda
6 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
6 months ago
I think the output is option B) abc.
upvoted 0 times
...
Craig
6 months ago
The output is clearly 'abc'. Anything else would just be silly.
upvoted 0 times
Madelyn
6 months ago
I agree, it should be 'abc'.
upvoted 0 times
...
Elvis
6 months ago
I think the output is 'abc'.
upvoted 0 times
...
Terina
6 months ago
B) abc
upvoted 0 times
...
Dorothy
6 months ago
A) anbncn
upvoted 0 times
...
Laura
6 months ago
E) a b c
upvoted 0 times
...
Laura
6 months ago
B) abc
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77