-->
当前位置:首页 > 题库

单选题:文本文件textfile有30行内容,下面的哪一行命令能够显示中间10行的内容?

Luz5年前 (2021-05-10)题库1072
文本文件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