tail -F
tail -F -q and piping to other commands (configuring buffering of other commands)
Use [tail -F] (capital F) instead of [tail -f] when tailing log files.
If you want to pipe output of tail -F to commands like grep or jq then look into configuring them so they buffer per line rather than holding on to larger buffers, look at the following notes:
Also make sure to user -q when piping structured logs (like JSON per line logs) to tools like jq.
Children
Backlinks