Which of the following commands is used to change options and positional parameters for a running Bash?

A.

history

B.

set

C.

bashconf

D.

setsh

E.

envsetup

题解

选项 A,「history」指令可以用来显示 bash 指令输入的历史纪录。

选项 B,「set」指令可以用来设置或是查看目前 shell 的设置值。

选项 C,没有「bashconf」这样的指令。

选项 D,没有「setsh」这样的指令。

选项 E,没有「envsetup」这样的指令。