如在终端中执行echo $PATH后输出为/usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/sbin:/sbin,则当输入的命令是外部命令时查找的顺序是
A. 先/usr/lib/qt-3.3/bin,再/usr/local/sbin,再/sbin
B. 先/sbin,再/usr/local/sbin,再/usr/lib/qt-3.3/bin
C. 只查找/sbin
D. 只查找/sbin/usr/lib/qt-3.3/bin
查看答案
终端中先后输入并执行以下命令,最后的运行结果是什么?name="Tom"echo 'His name is $name'
A. His Tom is Tom
B. His name is $name
C. His name is Tom
D. His name is name
终端中先后输入并执行以下命令,最后的运行结果是什么?this_day='Monday'echo "Today is ${this_day}"
A. Today is this_day
B. Today is${Monday}
C. Today is ${this_day}
D. Today is Monday
以下哪个环境变量存储了寻找可执行文件的搜索路径?
A. PATH
B. HISTSIZE
C. LDPATH
D. SYSPATH
以下哪个环境变量存储了历史命令列表的大小?
A. LDPATH
B. HISTSIZE
COMMANDSIZE
D. SIZE