How do I view live logs in Linux?

How do I view live logs in Linux?
Answer
Log into your Linux system. Let’s say we’re going to want to watch syslog for anything out of the ordinary. From the bash prompt, issue the
command sudo tail -f /var/log/syslog. Once you’ve successfully typed your sudo password, you will see that log file presented to you, in real time.
 

Tìm kiếm

Back
Top