Linux tail 命令

命令介绍

tail 命令可用于查看文件末尾的内容。

参数介绍

1、-f 动态读取。
2、-n 显示文件的尾部 n 行内容。

例子:动态查看文件后面100行

tail -f -n 100 notes.log
原文地址:https://www.cnblogs.com/feiqiangsheng/p/15683698.html