nerdexam
LPI

102-350 · Question #134

We have bash script ~/myscript shown below: shift echo $2 We call this script: ~/myscript alpha beta gamma delta What will we see?

The correct answer is C. gamma. See the full explanation below for the reasoning.

Question

We have bash script ~/myscript shown below: shift echo $2 We call this script: ~/myscript alpha beta gamma delta What will we see?

Options

  • Aalpha
  • Bbeta
  • Cgamma
  • Ddelta

How the community answered

(40 responses)
  • A
    3% (1)
  • B
    13% (5)
  • C
    78% (31)
  • D
    8% (3)

Community Discussion

No community discussion yet for this question.

Full 102-350 Practice