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 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
7 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
7 months ago
I agree with Alex, because the command is just echoing each token.
upvoted 0 times
...
Sabrina
7 months ago
I think the output is E) a b c.
upvoted 0 times
...
Lonny
8 months ago
Correct! The output is abc.
upvoted 0 times
...
Emelda
8 months ago
B) abc
upvoted 0 times
...
Alex
8 months ago
What is the output of the following command?
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