tail
分类
描述
显示文件末尾部分
语法
tail [选项] [文件...]
常用选项
使用示例
- tail -n 50 log.txt: 显示日志文件最后50行
- tail -f /var/log/syslog: 实时查看系统日志
相关命令