标签:
比如,想要取某文件10-20行
可以用sed
sed -n ‘10,20p‘ XXX.txt
非常方便!
bash 取文件特定行
原文地址:http://www.cnblogs.com/foreverycc/p/5683323.html