# tail [OPTION]... [FILE]...tail my.log # 默认显示文件中最后 10 行数据tail -n 20 my.log # 最后 20 行tail -f my.log # -f follow 实时显示tail -f --pid=1111 # pid=1111 的进程结束后,自动取消tail 1.log 2.log # 多个文件