You know how to view files in Linux. You use cat command or probably less command for this purpose.
Thataposs 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. Iaposll show them to you in this tutorial.
The tail command is so popular for viewing log files in real life that sysadmins use the term apostail the log fileapos.
The tail command is essentially used for showing the lines of a file from the end and hence the term apostailapos.
You can use the -f option to follow the tail of a file which means that it will keep on showing the new lines added to the file continuously.
News Link: https://linuxhandbook.com/watch-logs-real-time/.