4 Ways to Watch or Monitor Log Files in Real Time

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

8 Responses

  1. Kunal says:

    Hi, i am new to Linux admin. When I type the following command in my terminal its shows that NO SUCH FILE AND DIRECTORY.

    $ sudo tail -f /var/log/apache2/access.log

    Also when I typed the following command, it’s shows same result NO SUCH FILE AND DIRECTORY.

    $ sudo tail -f /var/log/syslog

    What should I do now?

    Please help

    Thank you

    • Ravi Saive says:


      To have this file (/var/log/apache2/access.log) accessible, you need to have Apache installed and running on your system. To view syslog files, you can launch GUI Log File Viewer from the Ubuntu dash.

      To view logs from terminal, you can use dmesg as shown.

      $ dmesg
      $ dmesg | grep something
      • Kunal says:


        Thanks for the reply

        When I typed dmesg command it opens something but not log file.

        • Ravi Saive says:


          Could you check that the service syslog is running using following command.

          $ service syslog status

          If it is not running, then re-configure it using following command.

          $ sudo dpkg-reconfigure inetutils-syslogd
  2. dudeness says:

    You forgot the watch command.

    # watch -n1 -d dmesg
  3. fliteshare says:

    There should only be ONE systemlog to go look in. The plethora of logs merely serve to obscure an investigation.

    In which case the log-tool would be (smart) filter functions

  4. Umair says:

    have been using multitail for quite a while.

    But can i ask which font you are using and how did you set that syntax highlighting.

Leave a Reply to Ravi Saive Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.