bash 取文件特定行

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

能夠用sedcode

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

很是方便!blog

相關文章
相關標籤/搜索