head 读取文件的前n行,默认是前10, -n 数字 表示指定 tail 输出文件的后n行,默认后10行 -n 数字,指定后n行 -f 代表实时性的 转载于:https://www.cnblogs.com/0916m/p/11484641.html