当前位置:网站首页>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
边栏推荐
- For 22 years, you didn't know the file contained vulnerabilities?
- [stc8g2k64s4] introduction of comparator and sample program of comparator power down detection
- 1990年1月1日是星期一,定义函数date_to_week(year,month,day),实现功能输入年月日后返回星期几,例如date_to_week(2020,11,1),返回:星期日。 提示:
- 我的 Raspberry Pi Zero 2W 折腾笔记,记录一些遇到的问题和解决办法
- JS -- realize click Copy function
- MySQL error packet out of order
- Swift protocol Association object resource name management multithreading GCD delay once
- Tun equipment principle
- 1n5408-asemi rectifier diode
- Design of digital temperature monitoring and alarm system based on DS18B20 single chip microcomputer [LCD1602 display + Proteus simulation + C program + paper + key setting, etc.]
猜你喜欢
Leetcode165 compare version number double pointer string
LeetCode162-寻找峰值-二分-数组
Borui data and F5 jointly build the full data chain DNA of financial technology from code to user
Detailed comparison between asemi three-phase rectifier bridge and single-phase rectifier bridge
我的树莓派 Raspberry Pi Zero 2W 折腾笔记,记录一些遇到的问题和解决办法
What is the effect of Zhongfu Jinshi wealth class 29800? Walk with professional investors to make investment easier
Design of digital temperature monitoring and alarm system based on DS18B20 single chip microcomputer [LCD1602 display + Proteus simulation + C program + paper + key setting, etc.]
LeetCode149-直线上最多的点数-数学-哈希表
eolink 如何助力遠程辦公
Do (local scope), initializer, memory conflict, swift pointer, inout, unsafepointer, unsafebitcast, success
随机推荐
8.5 concise implementation of cyclic neural network
Llvm - generate for loop
Daily question - leetcode396 - rotation function - recursion
Select receives both normal data and out of band data
Compiling OpenSSL
The difference between having and where in SQL
Design of digital temperature monitoring and alarm system based on DS18B20 single chip microcomputer [LCD1602 display + Proteus simulation + C program + paper + key setting, etc.]
Practice of unified storage technology of oppo data Lake
Leetcode149 - maximum number of points on a line - Math - hash table
Go basic reflection
Provided by Chengdu control panel design_ It's detailed_ Introduction to the definition, compilation and quotation of single chip microcomputer program header file
Tun equipment principle
Do (local scope), initializer, memory conflict, swift pointer, inout, unsafepointer, unsafebitcast, success
For 22 years, you didn't know the file contained vulnerabilities?
API gateway / API gateway (II) - use of Kong - load balancing
Have you learned the basic operation of circular queue?
async关键字
ffmpeg安装遇错:nasm/yasm not found or too old. Use --disable-x86asm for a crippled build.
Thread synchronization, life cycle
Will golang share data with fragment append