3 Ways to Watch Logs in Real Time in Linux
You know how to view files in Linux. You use cat command or probably less command for this purpose.
That's good for files that has static content. But log files are dynamic and their content change with time. To monitor logs, you need to watch the log file as its content changes.
How do you see the content of log files in real time? Tail is the most popular command for this purpose but there are some other tools as well. I'll show them to you in this tutorial.
Source: Watch Logs in Real Time in Linux With Tail, Less & Multitail, an article by Abhishek Prakash.