LPI
102-350 · Question #145
102-350 Question #145: Real Exam Question with Answer & Explanation
The correct answer is D. The secondary bash prompt includes the username and working path. See the full explanation below for the reasoning.
Question
Which of the statements is the result of the following command? $ export PS2="[\u\w]\$ "
Options
- AThe primary bash prompt uses underlining and white background (black foreground)
- BThe primary bash prompt includes the username and working path
- CThe secondary bash prompt uses underlining and white background (black foreground)
- DThe secondary bash prompt includes the username and working path
- EThe bash prompt maps mouse button one as Ctrl-U (undo) and mouse two as Ctrl-W (write line
Community Discussion
No community discussion yet for this question.