单选题:文本文件textfile有30行内容,下面的哪一行命令能够显示中间10行的内容?
文本文件textfile有30行内容,下面的哪一行命令能够显示中间10行的内容?@[B](1)
A. head -n 11-20 textfile
B. head -n 20 textfile | tail
C. tail -n 11-20 textfile
D. cat textfile | pr -n 11-20
A.head -n 11-20 textfile
B.head -n 20 textfile | tail
C.tail -n 11-20 textfile
D.cat textfile | pr -n 11-20
答案:B
A. head -n 11-20 textfile
B. head -n 20 textfile | tail
C. tail -n 11-20 textfile
D. cat textfile | pr -n 11-20
A.head -n 11-20 textfile
B.head -n 20 textfile | tail
C.tail -n 11-20 textfile
D.cat textfile | pr -n 11-20
答案:B