仅在/etc目录下查找以.conf结尾的文件名的命令是()? (1.0)
A. find -maxdepth 1-name '*.conf' /etc/
B. find /etc/ -name '*.conf' -maxdepth 1
C. find /etc/ -maxdepth 1 -name '*.conf'
D. find /etc/ -name '*.conf'
查看答案
在/etc目录和/lib目录及其子目录下查找以.service或.d结尾的文件名的命令是()?(1.0)
A. find /etc /lib -name "*.service" -a -name "*.d"
B. find /etc /lib -name "*.service" -o -name "*.d"
C. find /etc /lib -name "*.service" -or -name "*.d"
D. find /etc /lib -name "*.service" -and -name "*.d"
搜索/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