單項選擇題

查找/etc下文件內(nèi)容中以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/*

微信掃碼免費搜題