I recently learned that less
can “follow” log files (like tail -f
).
$ less access.log
Then press shift+f to follow. Stop with ctrl+c. Pressing v opens the file in an editor.
I saw it in the comments here. The comments also mention a tool called Logfile Navigator (lnav) that looks like it might be interesting.