nerdexam
Oracle

1Z0-409 · Question #39

The user smith issued the PS1='[\w \d \! \#]'command. What is the purpose of using this command?

The correct answer is D. to display the command number and history number of the command, date, and current working. See the full explanation below for the reasoning.

Question

The user smith issued the PS1='[\w \d ! #]'command. What is the purpose of using this command?

Options

  • Ato display the date, history number, and a "#" at his shell prompt
  • Bto display the week day, date, history number, and a "#" at his shell prompt
  • Cto display the command number, date, and "#" at his shell prompt along with the working directory
  • Dto display the command number and history number of the command, date, and current working

How the community answered

(26 responses)
  • A
    8% (2)
  • B
    8% (2)
  • C
    4% (1)
  • D
    81% (21)

Community Discussion

No community discussion yet for this question.

Full 1Z0-409 Practice