Posted by: Pdfprep
Post Date: April 8, 2021
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
A . result: 6 5 4
B . result: 1 2 3 4 5 6
C . result: 3 4 5 6 2 1
D . result: 6 5 4 3 2 1
E . result: 3 2 1
Answer: C
Leave a Reply