PrepAway - Latest Free Exam Questions & Answers

What output will the following command sequence produce?

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

PrepAway - Latest Free Exam Questions & Answers

A.
result: 3 4 5 6 2 1

B.
result: 1 2 3 4 5 6

C.
result: 6 5 4

D.
result: 6 5 4 3 2 1

E.
result: 3 2 1

2 Comments on “What output will the following command sequence produce?

  1. Believeinme says:

    ATTENTION !!!!!!!

    I took the exam recently, and not all the questions are there, there are 7 “new” questions.

    when I got home I found out that those 7 “new” questions are in version 102-400.

    If you want to pass the exam, I advise you all to study both the 102-400 and 102-400 (v.1) exams because my exam was a mixture of questions from these two.

    By the way, I passed the test!!! :D

    Lpic is already mine!!

    Good luck!!




    7



    2

Leave a Reply