当前位置:网站首页>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
边栏推荐
- How to design a good API interface?
- UML learning_ Day2
- Redis主从同步
- Application of skiplist in leveldb
- Llvm - generate local variables
- Modify the default listening IP of firebase emulators
- adobe illustrator 菜單中英文對照
- 分享3个使用工具,在家剪辑5个作品挣了400多
- Pnpm installation and use
- Daily question - leetcode396 - rotation function - recursion
猜你喜欢
TLS / SSL protocol details (30) RSA, DHE, ecdhe and ecdh processes and differences in SSL
Introduction to Arduino for esp8266 serial port function
Five data types of redis
Provided by Chengdu control panel design_ It's detailed_ Introduction to the definition, compilation and quotation of single chip microcomputer program header file
Have you really learned the operation of sequence table?
The win10 taskbar notification area icon is missing
asp. Net method of sending mail using mailmessage
Have you learned the basic operation of circular queue?
TLS / SSL protocol details (28) differences between TLS 1.0, TLS 1.1 and TLS 1.2
1n5408-asemi rectifier diode
随机推荐
Nuxt project: Global get process Env information
SQL中HAVING和WHERE的区别
如何设计一个良好的API接口?
Detailed analysis of SQL combat of Niuke database (26-30)
Mysql连接查询详解
SSH connects to the remote host through the springboard machine
What is the role of the full connection layer?
C语言超全学习路线(收藏让你少走弯路)
UML learning_ Day2
Have you really learned the operation of sequence table?
填充每个节点的下一个右侧节点指针 II [经典层次遍历 | 视为链表 ]
MySQL sync could not find first log file name in binary log index file error
分布式事务Seata介绍
Advanced version of array simulation queue - ring queue (real queuing)
Ffmpeg installation error: NASM / yasm not found or too old Use --disable-x86asm for a clipped build
Leetcode162 - find peak - dichotomy - array
UML学习_day2
Fill in the next right node pointer II of each node [classical hierarchy traversal | regarded as linked list]
JS -- realize click Copy function
Five data types of redis