需求: linux下对文件按照行数进行切割 实现: sed -n '10,100p' logfile.txt > lognew.txt 摘自:http://www.xhuojia.com/zhuanlan/1891238847.html