bash 取文件特定行

好比,想要取某文件10-20行spa

能够用sedcode

sed -n '10,20p' XXX.txt 

很是方便!blog

相关文章
相关标签/搜索