问题
单项选择题
查找/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/*
答案
参考答案:A