单项选择题
以下命令能实现显示文件/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" -
单项选择题
为变量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
