Wednesday, January 10, 2018

How to monitor only the last n lines of a log file?

It might suffice to use watch:
$ watch tail -n 15 mylogfile.txt

No comments:

Post a Comment