单项选择题
在linux系统中,查找/tmp目录下正规文件,其权限为644的文件,下列命令中正确的是()。
A、find /tmp -f -perm 644
B、find -type f -perm 644 /tmp
C、find -type f -perm 644
D、find /tmp -type f -perm 644
点击查看答案
相关考题
-
多项选择题
在linux系统中,下述正则表达式结果相同的有()
A、[ 0 1 2 3 4 5 ]
B、[ 0-5 ]
C、[ 0 1-5 ]
D、[ 0-2 3-5]
E、[01][2-5] -
单项选择题
在linux系统中,与正则表达式[^0-9]匹配的表达式有()。
A、0
B、a
C、*
D、% -
单项选择题
查找/etc下文件内容中以shell开头或以shell结尾,且与shell大小写无关的文件及其相应行(不包括错误信息和父目录),以下命令正确的是()。
A、grep –s -I -E、“^shell|shell$”/etc/*
B、grep –s -E、“^shell|shell$”/etc/*
C、grep –s -i “^shell|shell$”/etc/*
D、grep -I -E、“^shell|shell$”/etc/*
