單項選擇題下列哪一項可以列出文件/etc/services中含有文本ftp的行()
A.echo ftp /etc/services
B.echo ftp < /etc/services
C.grep ftp -q /etc/services
D.grep ftp < /etc/services
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題下列哪個命令行可列出文件/usr/share/dict/words 中含有sun這個文本的所有行及其行號()
A.grep–n sun /usr/share/dict/words
B.grep–N /usr/share/dict/words sun
C.grep–r sun /usr/share/dict/words
D.grep–r /usr/share/dict/words sun
2.單項選擇題對于普通用戶,所能執(zhí)行的命令多數(shù)保存在()
A./tmp
B./etc
C./bin
D./sbin