Oracle
1Z0-409 · Question #139
As a root user you have issued the following commands at the bash prompt: [root@station1 ~]#set a b c d e f g h i j k l m n o p q r s t u v w x y z [root@station1 ~]#shift 9 [root@station1 ~]#echo…
The correct answer is B. It will print the letter s. See the full explanation below for the reasoning.
Question
As a root user you have issued the following commands at the bash prompt:
[root@station1 ~]#set a b c d e f g h i j k l m n o p q r s t u v w x y z [root@station1 ~]#shift 9 [root@station1 ~]#echo ${10} What would be the output of the echo command?
Options
- AIt will print the letter j.
- BIt will print the letter s.
- CIt will print $1 followed by the literal 0.
- DIt will print ${10} onto the standard output.
How the community answered
(37 responses)- A14% (5)
- B76% (28)
- C5% (2)
- D5% (2)
Community Discussion
No community discussion yet for this question.