在linux系统中,查找/home/目录下文件名以test开头的文件,以下正确的命令是()。A、find /home -name test*B、find -name test* /homeC、find test* /homeD、find -n test* /home

题目

在linux系统中,查找/home/目录下文件名以test开头的文件,以下正确的命令是()。

  • A、find /home -name test*
  • B、find -name test* /home
  • C、find test* /home
  • D、find -n test* /home
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

在页面中创建标签可以方便超链接在本页面中跳转,假设标签名为“test”,正确的超链接语句是______。

A.<a href="test"></a>

B.<a href="#test"></a>

C.<a name="test"></a>

D.<a name="#test"></a>


正确答案:B
解析:本题考查HTML基础知识。
  a name="">/a>标记对要结合a href="">/a>标记对使用才有效果,用name结合 href来实现在同一文档中不同内容之间的链接,这对于某些信息量很大的页面来说是很有用的,可以方便地找到对应信息。
  a name="">/a>标记对用来在HTML文档中创建一个标签(即做一个记号),属性 name是不可缺少的,它的值即是标签名,例如:
  a name="标签名">此处创建了一个标签/a>
  创建标签是为了在HTML文档中创建一些链接,以便能够找到同一文档中有标签的地方。要找到标签所在地,就必须使用a href="">/a>标记对。例如要找到“标签名”这个标签,就要编写如下代码:
  a href="#标签名">单击此处将使浏览器跳到"标签名"处/a>

第2题:

用户通过命令行与Linux系统进行交互,完成各种配置及管理等功能。根据下表要求写出完整的Linux命令。

序号

命令要求

完整命令

1

测试与www.baidu.com的互通性

2

改变当期目录到/home/zhang

3

将文件test改名为test.org

4

在文件test.c中查找字符串passwd


正确答案:
(1)pingwww.baidu.com
(2)cd/home/zhang/
(3)mvtesttest.org
(4)grep‘passwd’test.c

第3题:

利用命令find查找当前目录下的名称尾为.c的文件,并将结果输出到标准输出的命令是 ()

A.find.-name"?.c"–print

B.find.-name".c"-print

C.find.-name"!*.c"–print

D.find.-name"*.c"–print


正确答案:D

第4题:

在linux系统中,用命令rmdir删除/test/test1目录,当/test目录为空时,希望一并删除,以下要用到的参数是()。

  • A、r
  • B、R
  • C、p
  • D、f

正确答案:C

第5题:

在linux系统中,递归地压缩/tmp/test6/目录下的所有文件,正确的命令是()。

  • A、gzip -v /tmp/test6
  • B、gzip /tmp/test6
  • C、gzip -r /tmp/test6
  • D、tar -czvfr /tmp/test6

正确答案:C

第6题:

若基于Linux操作系统所开发的ARM应用程序源文件名为test.c,那么要生成该程序代码的调试信息,编译时使用的GCC命令正确的是()。

A.arm-linux-gcc -c -o test.o test.c

B.arm-linux-gcc -S -o test.o test.c

C.arm-linux-gcc -o test test.c

D.arm-linux-gcc -g -o test test.c


正确答案:D

第7题:

After teaching sounds, a teacher makes a test that aims to find out which sounds students are not able to pronounce. This test belongs to__________.

A. aptitude test
B. proficiency test
C. achievement test
D. diagnostic test

答案:D
解析:
考查教学评价。教了语音之后,教师做测试以便检查学生哪些音不会发,这属于诊断性测验(diagnostic test)。aptitude test“能力倾向测验”,proficiency test“水平测试”,achievement test“成就测试”。

第8题:

要将当前目录及其自目录下后缀名为“.bak”的文件全部删除,正确的命令是()。

A.find–name“*.bak”–execrm{};

B.find–name“*.bak”–execrm{}/;

C.find–name“*.bak”–execrm/;

D.find–name“*.bak”–execrm{}/


正确答案:B

第9题:

在linux系统中,建立目录/test/dir目录并设定dir权限为754,以下命令正确的是()。

  • A、mkdir -m 754 /test/dir
  • B、mkdir -p 754 /test/dir
  • C、mkdir -v 754 /test/dir
  • D、mkdir -d 754 /test/dir

正确答案:A

第10题:

在linux系统中,删除/test/test1目录,当/test目录为空时,希望一并删除,以下命令中正确的是()。

  • A、rmdir -r /test/test1
  • B、rmdir -p /test/test1
  • C、rmdir -R /test/test1
  • D、rmdir -l /test/test1

正确答案:B

更多相关问题