Oracle
1Z0-876 · Question #123
Tina is using a Korn shell, and she wishes to set her prompt to the output of the host name on the system. Choose the command that Tina will use to change the prompt.
The correct answer is D. export PS1=`uname -n`$. See the full explanation below for the reasoning.
Question
Tina is using a Korn shell, and she wishes to set her prompt to the output of the host name on the system. Choose the command that Tina will use to change the prompt.
Options
- Aset prompt=
uname -n$ - Bexport PS1='
uname -n$ ' - Cexport PROMPT=
uname -n$ - Dexport PS1=
uname -n$ - Eprompt '
uname -n$ '
How the community answered
(30 responses)- A3% (1)
- B10% (3)
- D80% (24)
- E7% (2)
Community Discussion
No community discussion yet for this question.