Viewing Log Files using Tail

To watch active log files change on your screen and monitor them, it is sometimes useful to use the “tail” command. To view the log file’s recent activity. Type the following:

tail -f filename.log

That will open the file on the screen and refresh with any updates as they are made.

Leave a Reply

Your email address will not be published. Required fields are marked *