用两个文件 a.txt;b.txt. 使用 linux 命令,复制, a.txt 文档倒数第十行的记录 to b.txt 文档 tail -n 10 a.txt | head -n 1 >> b.txt