已知myfile文件中有1行内容,mycase文件中有3行内容。执行cat myfile > mycase命令后,mycase文件中有几行内容?
查看答案
显示dd文件的行数的命令是
A. wc -c dd
B. wc -l dd
C. wc -w dd
D. wc dd
history命令的功能是什么?
A. 查看Shell命令的历史记录
B. 删除Shell命令的历史记录
C. 复制Shell命令的历史记录
D. 创建Shell命令的别名
以下哪个命令能够分页显示当前目录中所有文件的详细信息?
A. more ls -al
B. more -al ls
C. more < ls -al
D. ls -al | more
下列哪条命令可以实现把系统中所有用户的用户名保存在文件a1中?
A. cut -d: -f1 /etc/passwd > a1
B. cut -d, -f2 /etc/passwd > a1
C. cut -d: -f2 /etc/passwd > a1
D. cut -d, -f1 /etc/passwd > a1