单项选择题
从键盘读取内容保存到变量name中的语句为()。
A.write name
B.exec name
C.echo name
D.read name
点击查看答案&解析
相关考题
-
单项选择题
在shell脚本中,使用()符号表示注释。
A.#
B.!
C.@
D.$ -
单项选择题
以下命令能实现显示文件/root/test内容,要求显示每行连续重复出现的次数的是()。
A.uniq -c /root/test
B.uniq /root/test
C.uniq -u /root/test
D.uniq -d /root/test -
单项选择题
以下为shell脚本中的变量username赋值“root”的语句是()。
A.username="root"
B.username!="root"
C.username as"root"
D.username is"root"
