截取文件命令 dd if=input.log of=output.log bs=1048576 count=100 skip=0 (bs为每块占用的字节量)
去掉文件中的回车符sed -i 's/\r$//' file