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 Exam 102-500 Topic 3 Question 72 Discussion

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

What output will the following command sequence produce?

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: D

Contribute your Thoughts:

Billye
4 days ago
But if you look at the command sequence closely, it will output 3 4 5 6 2 1, so I still think it's A.
upvoted 0 times
...
Levi
9 days ago
I disagree, I believe the answer is B.
upvoted 0 times
...
Billye
10 days ago
I think the answer is A.
upvoted 0 times
...
Kenneth
14 days ago
But if you look closely, the command sequence reads the values in reverse order, so the answer should be A.
upvoted 0 times
...
Stefan
16 days ago
I disagree, I believe the answer is B.
upvoted 0 times
...
Kenneth
17 days ago
I think the answer is A.
upvoted 0 times
...

Save Cancel