exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 257 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 257
Topic #: 1
[All LFCS Questions]

What is the output of the following command?
for token in a b c; do
echo -n ${token};
done

  • A. anbncn
  • B. abc
  • C. $token$token$token
  • D. {a}{b}{c}
  • E. a b c
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Greenmile84
5 months, 3 weeks ago
Selected Answer: B
~$ for token in a b c; do > echo -n ${token}; > done abc
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago