单项选择题
为变量dirname赋值为“hello world”的语句为()。
A.dirname=hello world
B.dirname as"hello world"
C.dirname is "hello world"
D.dirname="hello world"
点击查看答案&解析
相关考题
-
单项选择题
为变量count赋值1的语句是()。
A.count#1
B.count=1
C.count=`1`
D.count is 1 -
单项选择题
在shell脚本中,哪个变量保存了上一条命令执行后的返回值(或错误代码)()。
A.$$
B.$?
C.$#
D.$! -
单项选择题
为变量word赋值为“hello world”的语句为()。
A.word=hello world
B.word as "hello world"
C.word is "hello world"
D.word="hello world"
