I sometimes use tail -f to watch a file, and also grep the output for a particular phrase.

For instance, I might look for a URL in an nginx log file. I might start a screen session, send the output to a log, and filter for phrases in a long running command. Or use script , which I recently learned about, to generate a real time log of a shell session.