The _ command could be used to view the contents of the environment variable that represents the BASH shell prompt.

The _ command could be used to view the contents of the environment variable that represents the BASH shell prompt.

a. ls $PWD
b. echo #PWD
c. echo $PS1
d. ls #PS1

Answer: C.