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 LFCS Exam - Topic 8 Question 36 Discussion

Posted by Lashandra on May 07, 2022 at 07:13 AM

What is the output of the following command?

for token in a b c; do

echo -n ${token};

done

Suggested Answer: B

Get Premium LFCS Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
13 comments · newest first
WI
Wilson 1 year ago
I thought it would be something like {a}{b}{c}.
LA
Larue 1 year ago
Yeah, it won't add new lines, just prints them together.
MA
Madalyn 1 year ago
Wait, are you sure? What about the -n option?
TR
Troy 1 year ago
I agree, it's just concatenating the tokens.
CE
Cecilia 1 year ago
The output is definitely abc.
RO
Royce 1 year ago
I practiced a question like this, and I feel like it should just output "abc" since it doesn't add any extra characters.
RO
Rory 1 year ago
I'm not entirely sure, but I remember something similar where it echoed variables. Could it be "anbncn"?
ST
Stefania 1 year ago
I think the command just prints the tokens without spaces, so it might be "abc".
PA
Paris 1 year ago
I'm confused about the syntax; does the "echo -n" mean it won't add a newline? That makes me lean towards "abc" too.
DE
Dexter 1 year ago
Hmm, not sure about this one. The question mentions a few different options, and I'm a bit confused on the differences between Platform Events, Change Data Capture, and Apex Triggers. I'll need to review those concepts carefully.
IZ
Izetta 1 year ago
Hmm, this seems like a pretty straightforward Metasploit question. I think the key is to remember that Metasploit is all about exploits and payloads, so the answer is probably B.
TA
Tamera 1 year ago
This is a good opportunity to demonstrate my understanding of budgeting systems. I'll make sure to select all the relevant advantages and disadvantages to show my examiner that I've grasped the concepts.
MI
Misty 1 year ago
Okay, I remember now - we use solid line arrows in a Process Map to indicate the direction of the workflow. That's an important detail to get right.
0/2000 characters

Save Cancel