Oracle
1Z0-409 · Question #136
1Z0-409 Question #136: Real Exam Question with Answer & Explanation
The correct answer is B. PS1='[`hostname`]'. See the full explanation below for the reasoning.
Question
As a root user you want to modify the default shell prompt to include the hostname as part of the prompt. Also you want the change in the hostname to reflect on the prompt immediately. Which option would help you achieve this task?
Options
- APS2='[
hostname]' - BPS1='[
hostname]' - CPS2=''[
hostname]'' - DPS1=''[
hostname]''
Community Discussion
No community discussion yet for this question.