当前位置:网站首页>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
边栏推荐
- Leetcode165 compare version number double pointer string
- Share 3 tools, edit 5 works at home and earn more than 400
- Bingbing learning notes: take you step by step to realize the sequence table
- 我的树莓派 Raspberry Pi Zero 2W 折腾笔记,记录一些遇到的问题和解决办法
- [thymeleaf] handle null values and use safe operators
- Thread synchronization, life cycle
- The win10 taskbar notification area icon is missing
- Unity_ Code mode add binding button click event
- Explanation and example application of the principle of logistic regression in machine learning
- win10 任务栏通知区图标不见了
猜你喜欢
Introduction to Arduino for esp8266 serial port function
UML学习_day2
How to design a good API interface?
Progress in the treatment of depression
LeetCode162-寻找峰值-二分-数组
Redis master-slave synchronization
Five data types of redis
LeetCode151-颠倒字符串中的单词-字符串-模拟
Leetcode149 - maximum number of points on a line - Math - hash table
Set up an AI team in the game world and start the super parametric multi-agent "chaos fight"
随机推荐
asp. Net method of sending mail using mailmessage
Sword finger offer II 019 Delete at most one character to get palindrome (simple)
Three uses of kprobe
Leetcode167 - sum of two numbers II - double pointer - bisection - array - Search
LeetCode167-两数之和II-双指针-二分-数组-查找
How to upload large files quickly?
中富金石财富班29800效果如何?与专业投资者同行让投资更简单
How to design a good API interface?
JUC learning record (2022.4.22)
My raspberry PI zero 2W tossing notes record some problems encountered and solutions
Async keyword
The life cycle of key value in redis module programming
Leetcode153 - find the minimum value in the rotation sort array - array - binary search
When splicing HQL, the new field does not appear in the construction method
Async void caused the program to crash
Share 20 tips for ES6 that should not be missed
adobe illustrator 菜单中英文对照
如何设计一个良好的API接口?
Detailed analysis of SQL combat of Niuke database (26-30)
Redis cluster principle