我不能说为什么tail滞后,但你可以使用tee:
Redirect output to multiple files, copies standard input to standard output and also to any files given as arguments. This is useful when you want not only to send some data down a pipe, but also to save a copy.
例: <command> | tee <outputFile>
| 归档时间: |
|
| 查看次数: |
3369 次 |
| 最近记录: |