BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 102-500 Exam - Topic 4 Question 48 Discussion

Posted by Art on Jul 26, 2022 at 08:13 AM

What output is produced by the following command sequence?

echo '1 2 3 4 5 6' | while read a b c; do

echo result $c $b $a;

done

Suggested Answer: C

Get Premium 102-500 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
13 comments · newest first
DE
Deonna 1 year ago
Definitely option C, no doubt about it!
TA
Tarra 1 year ago
This is confusing, why is it not just the last three numbers?
MO
Monte 1 year ago
Wait, are you sure? I thought it would be D.
GA
Gail 1 year ago
I think it's option C too!
DU
Dusti 1 year ago
It's going to output 3 4 5 6 2 1.
ES
Essie 1 year ago
I feel like the output should show the last three numbers in reverse order, so maybe it’s option E?
EL
Elmer 1 year ago
I’m a bit confused about how the while loop works here. Does it only run once or multiple times?
NO
Nobuko 1 year ago
I remember practicing a similar question where the order of variables affected the output. I think it might be option A or C.
QU
Quentin 1 year ago
I think the command reads the first three numbers into a, b, and c, but I'm not sure how the output will be formatted.
NI
Nicolette 1 year ago
The image shows some kind of executable file, but I'm not sure if it's a DOS MZ or a Windows executable. I'll have to think this through carefully.
AL
Alisha 1 year ago
I feel confident I can answer this. The non-transitive nature of peered networks and the ability to centrally manage routes and firewalls are definitely relevant security characteristics.
IE
Iesha 1 year ago
Wait, is it 1U, 2U, 3U, or 4U? I'm not sure which one is the correct answer.
SA
Sage 1 year ago
I'm feeling pretty confident about this one. I know the best practices for ccLog usage, so I should be able to identify the two usages that should be avoided.
0/2000 characters

Save Cancel