What would you do to make "=>" as the default secondary prompt temporarily only for user smith and for the tty1 terminal current session?

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?

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?

A.
Redefine PS1=?>

B.
Redefine PS2=?>

C.
Redefine PS3=?>

D.
Redefine PS4=?>



Leave a Reply 0

Your email address will not be published. Required fields are marked *