How do I view system log files in Linux?

Posted on 2006-05-17
Last Modified: 2013-12-16
How do I view system log files in Linux?
I am new to the Linux world.  In the AIX world I can see the errors
with 'errpt'.  I can get an expanded version with 'errpt -a'.
I have been searching for an equivalent command in Linux but have
not found it.  Also in AIX I have cron jobs that sends an operator
message with the 'errlogger' command if my process fails for any reason.
What does Linux have that will do the same?
Question by:slcoit
    1 Comment
    LVL 6

    Accepted Solution


    All the log files are in /var/log  directory

    you can use any editor of your chocie for viewing these files.

    as for the cron jobs run.. they send a mail by default to the root user. Check your root mail boxe for this.

    You can also see /var/log/messages for system wide error messages.

    also if you want to see the bootup messages you can use the





    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now