运维开发笔试题及详细答案.docxVIP

  • 3
  • 0
  • 约6.63千字
  • 约 8页
  • 2026-06-28 发布于河北
  • 举报

运维开发笔试题及详细答案

一、选择题(每题5分,共30分)

在Linux系统中,以下命令能查看系统当前所有进程的是()

A.ps-efB.top-n1C.netstat-tulnD.ls-l

下列Shell脚本中,能正确判断文件/etc/passwd是否存在的是()

A.if[-f/etc/passwd];thenecho存在;fi

B.if[-d/etc/passwd];thenecho存在;fi

C.ifexist/etc/passwd;thenecho存在;fi

D.if[-x/etc/passwd];thenecho存在;fi

Python中,以下代码执行结果正确的是()

a=[1,2,3,4]

print(a[1:3])

A.[1,2]B.[2,3]C.[2,3,4]D.[1,2,3]

MySQL中,查询user表中age大于20且小于30的记录,正确的SQL语句是()

A.select*fromuserwhereage20andage

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档