题目内容

搜索/bin目录下以“z”开头且大小在(5k,7k)的文件的命令是()? (1.0)

A. find /bin -name 'z*' -a -size +5k -size -7k
B. find /bin -type 'z*' -a -size +5k -size -7k
C. find /bin -name 'z*' -a -size -5k -size +7k
D. find /bin -name 'z*' -a -size +5k -7k

查看答案
更多问题

查看家目录下以“.c”结尾的文件内容,并显示行号( )?(1.0)

A. cat -n ~/*.c
B. cat -n ~/*.txt
C. cat -m ~/*.txt
D. cat -m ~/*.c

逐屏查看 /usr/include/stdio.h文件内容,并显示行号的命令是()?(1.0)

A. less -N /usr/include/stdio.h
B. more -N /usr/include/stdio.h
C. less -n /usr/include/stdio.h
D. more -n /usr/include/stdio.h

分页显示/etc/services文件内容,每次显示5行的命令是()? (1.0)

A. cat /etc/services -5
B. more /etc/services -5
C. more -5 /etc/services
D. cat -5 /etc/services

从文件c1.c和s1.c中找出包含字符串“main”的行的命令是()?(1.0)

A. list main c1.c s1.c
B. cat main c1.
C. s1.c find main c1.c s1.c
D. grep main c1.c s1.c

答案查题题库