网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

查找/etc下文件内容中以shell开头或以shell结尾,且与shell大小写无关的文件及其相应行(不包括错误信息和父目录),以下命令正确的是()。

  • A、grep –s -I -E、“^shell
  • B、grep –s -E、“^shell
  • C、grep –s -i “^shell
  • D、grep -I -E、“^shell

参考答案

更多 “查找/etc下文件内容中以shell开头或以shell结尾,且与shell大小写无关的文件及其相应行(不包括错误信息和父目录),以下命令正确的是()。A、grep –s -I -E、“^shellB、grep –s -E、“^shellC、grep –s -i “^shellD、grep -I -E、“^shell” 相关考题
考题 UNIX标准是( )。 A.Bourne shellB.SVID、POSIXC.TC shell、C shellD.Korn shell

考题 以下哪些命令可以确定当前目录下哪些文件中包含字符串“whoamI”:() A.grep“whoami“*B.GREP“whoami“*C.grepwhoami*

考题 如何在文件中查找显示所有以*打头的行()A.find\*fileB.wc-l*fileC.grep-n*fileD.grep‘^\*’file

考题 关于grep命令,下列用法正确的是()。A.grepLinuxfileB.grepLinuxOSfileC.grep‘Linux’fileD.grep“LinuxOS”file

考题 在UNIX系统中,Shell程序______实现显示用户主目录以及当前命令的进程标识符。A.echo UserHome directorY:$LOGNAMEecho Carrent shell'Ss PID:$$B.echo UserHome directory:$HOMEecho Carrent shell'PID:$@C.echo UserHome directory:$LOGNAMEecho Carrent shell's PID:$@D.echo UserHome directory:$HOMEecho Carrent shell's PID:$$A.B.C.D.

考题 在Unix系统中,Shell程序(57)实现显示用户主目录以及当前命令的进程标识符。A.echo UserHome directory:$LOGNAME echo Current shell's PID:$$B.echo UserHome directory:$HOME echo Current shell's PID:$@C.echo UserHome directory:$LOGNAME echo Current shell's PID:$@D.echo UserHome directory:$HOME echo Current shell's PlD:$$

考题 在UNIX系统中,Shell程序(19)实现显示用户主目录以及当前命令的进程标识符。A.cho UserHome directory:$LOGNAME echo Carrent shell's PID:$$B.echo UserHome directory:$HOME echo Carrent shell's PID:$@C.echo UserHome directory:$ LOGNAME echo Carrent shell's PID:S@D.echo UserHome directory:$HOME echo Carrent shell's PID:$$

考题 如何在文件中查找显示所有以“*”打头的行?()A、find/*fileB、wc-l*C、grep-n*fileD、grep/*file

考题 在liunx系统中,查找/etc下包含至少两次#的文件名及其匹配的行(不包括错误信息和父目录),以下命令中正确的是()。A、grep -s "#{2}" *B、grep -s "#{2,}" /etc/*C、grep "#{2,}" /etc/*D、grep -s "#(2,)" *

考题 在给定文件中查找与设定条件相符字符串的命令是grep。

考题 在linux系统中,查找/etc下文件内容中以shell开头或以shell结尾,且与shell大小写无关的文件及其相应行(不包括错误信息和父目录),用到的参数是()。A、fB、vC、iD、sE、E

考题 下列那个命令行可列出/etc/passwd文件中含有root这个文本的行()A、grep root /etc/groupB、echo root ∣grep /etc/groupC、echo /etc/group ∣grep rootD、A和C

考题 关于grep命令,下列说法中正确的是()A、grep命令的作用是对文件进行字符串数据比对B、grep命令支持正则表达式C、grep命令是以整行为单位进行数据撷取的D、grep命令只能在一个文件中进行字符串查找E、默认情况下,grep命令在匹配时是大小写敏感的,但可通过选项参数改变这一行为

考题 unix系统的外壳程序一般有哪几种:()A、A shellB、B shellC、C shellD、D shellE、K shell

考题 在Solaris系统中,文件及目录管理命令grep的用途是()

考题 以下哪些命令可以确定当前目录下哪些文件中包含字符串“whoamI”:()A、grep“whoami“*B、GREP“whoami“*C、grepwhoami*

考题 UNIX系统的用户通过Shell与核心交互这个Shell有很多种,包含了()A、B ShellB、K ShellC、C ShellD、tcsh

考题 在linux环境下通过下面哪个命令得到当前使用shell的类型()。A、shellB、echo $SHELLC、echo $shellD、disenv

考题 下列哪个命令行可列出文件/usr/share/dict/words 中含有sun这个文本的所有行及其行号()A、grep–n sun /usr/share/dict/wordsB、grep–N /usr/share/dict/words sunC、grep–r sun /usr/share/dict/wordsD、grep–r /usr/share/dict/words sun

考题 下列哪一项可以列出文件/etc/services中含有文本ftp的行()A、echo ftp /etc/servicesB、echo ftp  /etc/servicesC、grep ftp -q /etc/servicesD、grep ftp  /etc/services

考题 下列哪一项可以列出文件/etc/nsswitch.conf中含有文本nisplus的行()A、grep nisplus /etc/nsswitch.confB、grep nisplus  /etc/nsswitch.confC、grep nisplus -q /etc/nsswitch.confD、只有A和B

考题 在给定文件中查找与设定条件相符字符串的命令为grep。

考题 多选题在linux系统中,查找/etc下文件内容中以shell开头或以shell结尾,且与shell大小写无关的文件及其相应行(不包括错误信息和父目录),用到的参数是()。AfBvCiDsEE

考题 单选题在liunx系统中,查找/etc下包含至少两次#的文件名及其匹配的行(不包括错误信息和父目录),以下命令中正确的是()。A grep -s #{2} *B grep -s #{2,} /etc/*C grep #{2,} /etc/*D grep -s #(2,) *

考题 单选题下列那个命令行可列出/etc/passwd文件中含有root这个文本的行()A grep root /etc/groupB echo root ∣grep /etc/groupC echo /etc/group ∣grep rootD A和C

考题 填空题在Solaris系统中,文件及目录管理命令grep的用途是()

考题 单选题查找/etc下文件内容中以shell开头或以shell结尾,且与shell大小写无关的文件及其相应行(不包括错误信息和父目录),以下命令正确的是()。A grep –s -I -E、“^shellB grep –s -E、“^shellC grep –s -i “^shellD grep -I -E、“^shell