【单选题】
下列那个命令行可列出/etc/passwd文件中含有root这个文本的行()
A、grep root /etc/group
B、echo root ∣grep /etc/group
C、echo /etc/group ∣grep root
D、A和C
A、grep root /etc/group
B、echo root ∣grep /etc/group
C、echo /etc/group ∣grep root
D、A和C
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
A、head -8 /etc/passwd | tail -4 B、tail -8 /etc/passwd | head -4 C、more -8 /etc/passwd | less -4 D、less -8 /etc/passwd | more -4