Windows环境使用tail命令动态查询日志文件
2022/2/21 7:30:16
本文主要是介绍Windows环境使用tail命令动态查询日志文件,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
1、下载
下载地址:https://tail-for-windows.en.softonic.com/
2、配置
将下载好的tail.exe
拷贝到C:\windows\system32
目录下
3、设置编码格式
通过CMD
执行chcp 65001
命令,修改编码为utf-8
4、使用
在日志文件存在的目录下,执行tail -f
命令,和linux使用方式一样,比如:
tail -f xxxx.log
这篇关于Windows环境使用tail命令动态查询日志文件的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-03-28smol ai
- 2024-03-27探索小浣熊家族:商汤科技的AI智能助手革新编程与办公
- 2024-03-22dns_probe_finished_nxdomain 解决
- 2024-03-18rails time zone
- 2024-03-11ai入门
- 2024-03-07gpg failed to sign the data
- 2024-03-04retool vs airtable
- 2024-02-22hexo ai
- 2024-02-20name 'train_test_split' is not defined
- 2024-02-07史上最全知识图谱建模实践(下):多元关系架构