当前位置:网站首页>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
边栏推荐
- Ffmpeg installation error: NASM / yasm not found or too old Use --disable-x86asm for a clipped build
- asp. Net method of sending mail using mailmessage
- How to write the keywords in the cover and title? As we media, why is there no video playback
- Detailed analysis of SQL combat of Niuke database (26-30)
- Flink datastream type system typeinformation
- win10 任务栏通知区图标不见了
- Alexnet model
- 如何设计一个良好的API接口?
- Introduction to distributed transaction Seata
- Select receives both normal data and out of band data
猜你喜欢

LeetCode167-两数之和II-双指针-二分-数组-查找

Thinkphp5 + data large screen display effect

Explain TCP's three handshakes in detail

TLS / SSL protocol details (30) RSA, DHE, ecdhe and ecdh processes and differences in SSL

Reptile exercises (1)

Mysql连接查询详解

Have you really learned the operation of sequence table?

Leetcode exercise - 396 Rotation function

22年了你还不知道文件包含漏洞?

分布式事务Seata介绍
随机推荐
8.4 realization of recurrent neural network from zero
TLS / SSL protocol details (28) differences between TLS 1.0, TLS 1.1 and TLS 1.2
Provided by Chengdu control panel design_ It's detailed_ Introduction to the definition, compilation and quotation of single chip microcomputer program header file
Llvm - generate local variables
js——实现点击复制功能
SQL中HAVING和WHERE的区别
Comment eolink facilite le télétravail
About UDP receiving ICMP port unreachable
OC to swift conditional compilation, marking, macro, log, version detection, expiration prompt
SSH connects to the remote host through the springboard machine
Error: unable to find remote key "17f718f726"“
For 22 years, you didn't know the file contained vulnerabilities?
What is the role of the full connection layer?
Compiling OpenSSL
C语言超全学习路线(收藏让你少走弯路)
PSYNC synchronization of redis source code analysis
TLS / SSL protocol details (30) RSA, DHE, ecdhe and ecdh processes and differences in SSL
Analysis of common storage types and FTP active and passive modes
MySQL sync could not find first log file name in binary log index file error
How to design a good API interface?