当前位置:网站首页>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
边栏推荐
- A series of problems about the best time to buy and sell stocks
- Unity_ Code mode add binding button click event
- Basic operation of circular queue (Experiment)
- Openfaas practice 4: template operation
- Comment eolink facilite le télétravail
- Leetcode162 - find peak - dichotomy - array
- Sqlserver transaction and lock problem
- Select receives both normal data and out of band data
- LeetCode 练习——396. 旋转函数
- Detailed explanation of C language knowledge points -- first understanding of C language [1] - vs2022 debugging skills and code practice [1]
猜你喜欢

eolink 如何助力远程办公

我的 Raspberry Pi Zero 2W 折腾笔记,记录一些遇到的问题和解决办法

Basic operation of circular queue (Experiment)

Reptile exercises (1)

Thinkphp5 + data large screen display effect

Set onedrive or Google drive as a drawing bed in upic for free

Lotus DB design and Implementation - 1 Basic Concepts

What is the main purpose of PCIe X1 slot?

Leetcode162 - find peak - dichotomy - array

eolink 如何助力遠程辦公
随机推荐
Async void caused the program to crash
Sword finger offer II 019 Delete at most one character to get palindrome (simple)
Nuxt project: Global get process Env information
LeetCode149-直线上最多的点数-数学-哈希表
go基础 反射
Practice of unified storage technology of oppo data Lake
Mds55-16-asemi rectifier module mds55-16
OC to swift conditional compilation, marking, macro, log, version detection, expiration prompt
Tencent has written a few words, Ali has written them all for a month
How to use OCR in 5 minutes
Five data types of redis
Progress in the treatment of depression
Pnpm installation and use
UML学习_day2
For 22 years, you didn't know the file contained vulnerabilities?
Tun equipment principle
MySQL error packet out of order
[proteus simulation] automatic range (range < 10V) switching digital voltmeter
如何设计一个良好的API接口?
Bingbing learning notes: take you step by step to realize the sequence table