tail

显示文件的最后一部分

语法

tail [OPTION]... [FILE]...

示例

  • tail tmpfile

  • dmesg | tail -20

  • tailf -f logfile