当前位置:网站首页>Grep was unable to redirect to the file
Grep was unable to redirect to the file
2022-04-23 15:07:00 【Shibao】
Yesterday I used the following command to collect some logs , The next day I found nothing .
tail -f xxx | grep xxx > xxx.log
After inspection, it was found that the reason was grep Caused by cache problems , Change to the following order to take effect .
tail -f xxx | grep xxx --line-buffered > xxx.log
Now there is a word limit for posting an article , It's speechless .
版权声明
本文为[Shibao]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231408546784.html
边栏推荐
- Llvm - generate for loop
- What is the effect of Zhongfu Jinshi wealth class 29800? Walk with professional investors to make investment easier
- Alexnet model
- 分享3个使用工具,在家剪辑5个作品挣了400多
- Mysql连接查询详解
- Llvm - generate addition
- Provided by Chengdu control panel design_ It's detailed_ Introduction to the definition, compilation and quotation of single chip microcomputer program header file
- LeetCode162-寻找峰值-二分-数组
- A series of problems about the best time to buy and sell stocks
- 1990年1月1日是星期一,定义函数date_to_week(year,month,day),实现功能输入年月日后返回星期几,例如date_to_week(2020,11,1),返回:星期日。 提示:
猜你喜欢
Design of digital temperature monitoring and alarm system based on DS18B20 single chip microcomputer [LCD1602 display + Proteus simulation + C program + paper + key setting, etc.]
博睿数据携手F5共同构建金融科技从代码到用户的全数据链DNA
Thread synchronization, life cycle
如何设计一个良好的API接口?
Role of asemi rectifier module mdq100-16 in intelligent switching power supply
Leetcode151 - invert words in string - String - simulation
Programming philosophy - automatic loading, dependency injection and control inversion
How to use OCR in 5 minutes
What is the main purpose of PCIe X1 slot?
My raspberry PI zero 2W tossing notes record some problems encountered and solutions
随机推荐
牛客网数据库SQL实战详细剖析(26-30)
我的树莓派 Raspberry Pi Zero 2W 折腾笔记,记录一些遇到的问题和解决办法
Basic operation of sequential stack
thinkphp5+数据大屏展示效果
Little red book timestamp2 (2022 / 04 / 22)
SSH connects to the remote host through the springboard machine
Leetcode167 - sum of two numbers II - double pointer - bisection - array - Search
MySQL sync could not find first log file name in binary log index file error
When splicing HQL, the new field does not appear in the construction method
nuxt项目:全局获取process.env信息
OC to swift conditional compilation, marking, macro, log, version detection, expiration prompt
Bingbing learning notes: take you step by step to realize the sequence table
API gateway / API gateway (II) - use of Kong - load balancing
1n5408-asemi rectifier diode
[NLP] HMM hidden Markov + Viterbi word segmentation
多语言通信基础 06 go实现grpc的四种数据流模式实现
Practice of unified storage technology of oppo data Lake
Design of digital temperature monitoring and alarm system based on DS18B20 single chip microcomputer [LCD1602 display + Proteus simulation + C program + paper + key setting, etc.]
API gateway / API gateway (III) - use of Kong - current limiting rate limiting (redis)
Swift: entry of program, swift calls OC@_ silgen_ Name, OC calls swift, dynamic, string, substring