LPI
117-102 · Question #34
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
(61 responses)- A11% (7)
- B3% (2)
- C79% (48)
- D7% (4)
Community Discussion
No community discussion yet for this question.