小编Ili*_*lia的帖子

尾巴 -f | sed 到文件不起作用

I am having an issue with filtering a log file that is being written and writing the output to another file (if possible using tee, so I can see it working as it goes).

I can get it to output on stdout, but not write to a file, either using tee or >>. I can also get it to write to the file, but only if I drop the -f options from tail, which I need.

So, here …

shell filtering sed pipe tail

2
推荐指数
1
解决办法
639
查看次数

标签 统计

filtering ×1

pipe ×1

sed ×1

shell ×1

tail ×1