当前位置:网站首页>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
边栏推荐
- UML学习_day2
- Alexnet model
- How does eolink help telecommuting
- Three uses of kprobe
- Role of asemi rectifier module mdq100-16 in intelligent switching power supply
- C语言超全学习路线(收藏让你少走弯路)
- Async void caused the program to crash
- LeetCode151-颠倒字符串中的单词-字符串-模拟
- PSYNC synchronization of redis source code analysis
- Ffmpeg installation error: NASM / yasm not found or too old Use --disable-x86asm for a clipped build
猜你喜欢
Share 20 tips for ES6 that should not be missed
LeetCode165-比较版本号-双指针-字符串
Design of digital temperature monitoring and alarm system based on DS18B20 single chip microcomputer [LCD1602 display + Proteus simulation + C program + paper + key setting, etc.]
Swift protocol Association object resource name management multithreading GCD delay once
How does eolink help telecommuting
Mds55-16-asemi rectifier module mds55-16
Comment eolink facilite le télétravail
thinkphp5+数据大屏展示效果
每日一题-LeetCode396-旋转函数-递推
MySQL error packet out of order
随机推荐
A series of problems about the best time to buy and sell stocks
Swift: entry of program, swift calls OC@_ silgen_ Name, OC calls swift, dynamic, string, substring
Detailed explanation of C language knowledge points - data types and variables [2] - integer variables and constants [1]
Vscode Chinese plug-in doesn't work. Problem solving
Epolloneshot event of epoll -- instance program
Progress in the treatment of depression
[stc8g2k64s4] introduction of comparator and sample program of comparator power down detection
go基础 反射
填充每个节点的下一个右侧节点指针 II [经典层次遍历 | 视为链表 ]
中富金石财富班29800效果如何?与专业投资者同行让投资更简单
Reptile exercises (1)
大文件如何快速上传?
adobe illustrator 菜单中英文对照
Difference between like and regexp
Set onedrive or Google drive as a drawing bed in upic for free
Alexnet model
Openfaas practice 4: template operation
Thinkphp5 + data large screen display effect
LeetCode149-直线上最多的点数-数学-哈希表
Pnpm installation and use