在Linux中动态查看日志文件 [英] View a log file in Linux dynamically

查看:113
本文介绍了在Linux中动态查看日志文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Linux中有一个.csv格式的日志文件,该文件正在不断更新. 我想查看正在更新的日志文件.是否有任何Linux命令可以做到这一点?

I have a log file in .csv format in Linux, that is being updated continuously. I want to view the log file as it is being updated. Is there any Linux command(s) to do that?

推荐答案

tail -f yourlog.csv

新添加的行将连续显示.

Newly appended lines will continuously show.

这篇关于在Linux中动态查看日志文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆