在Linux下,获取文件倒数几行的命令是: tail -n 10 your_filename #获取倒数10行 转载于:https://www.cnblogs.com/juan-F/p/9577161.html