nerdexam
Oracle

1Z0-409 · Question #121

You have logged in as user smith at tty1 terminal and issued the following incomplete command at the bash prompt: [root@station1 ~]# if [ i > j ] then > The shell displays the default secondary…

The correct answer is B. Redefine PS2=?>. See the full explanation below for the reasoning.

Question

You have logged in as user smith at tty1 terminal and issued the following incomplete command at the bash prompt:

[root@station1 ~]# if [ i > j ] then > The shell displays the default secondary prompt ">". What would you do to make "=>" as the default secondary prompt temporarily only for user smith and for the tty1 terminal current session?

Options

  • ARedefine PS1=?>
  • BRedefine PS2=?>
  • CRedefine PS3=?>
  • DRedefine PS4=?>

How the community answered

(42 responses)
  • A
    5% (2)
  • B
    81% (34)
  • C
    12% (5)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-409 Practice