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)- A3% (1)
- B13% (5)
- C78% (31)
- D8% (3)
Community Discussion
No community discussion yet for this question.