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

LPI 102-500 Exam - Topic 4 Question 48 Discussion

Actual exam question for LPI's 102-500 exam
Question #: 48
Topic #: 4
[All 102-500 Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Deonna
5 months ago
Definitely option C, no doubt about it!
upvoted 0 times
...
Tarra
5 months ago
This is confusing, why is it not just the last three numbers?
upvoted 0 times
...
Monte
6 months ago
Wait, are you sure? I thought it would be D.
upvoted 0 times
...
Gail
6 months ago
I think it's option C too!
upvoted 0 times
...
Dusti
6 months ago
It's going to output 3 4 5 6 2 1.
upvoted 0 times
...
Essie
6 months ago
I feel like the output should show the last three numbers in reverse order, so maybe it’s option E?
upvoted 0 times
...
Elmer
6 months ago
I’m a bit confused about how the while loop works here. Does it only run once or multiple times?
upvoted 0 times
...
Nobuko
6 months ago
I remember practicing a similar question where the order of variables affected the output. I think it might be option A or C.
upvoted 0 times
...
Quentin
6 months 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.
upvoted 0 times
...
Nicolette
6 months 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.
upvoted 0 times
...
Alisha
6 months 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.
upvoted 0 times
...
Iesha
6 months ago
Wait, is it 1U, 2U, 3U, or 4U? I'm not sure which one is the correct answer.
upvoted 0 times
...
Sage
6 months 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.
upvoted 0 times
...

Save Cancel