We use cookies to improve our services and provide a better experience. By continuing to use this site, you agree with our Cookies Policy.


More than 400 step-by-step articles to guide you through online project development.
HomeTutorialsHosting ServicesCloud HostingAll Tutorials

Common log files on a Linux system

Cloud Servers 727 x 90

Most of the systems log files can be found in /var/log directory. You can list them with a simple command:

ls -la /var/log

Some Linux log files:

/var/log/secure contains user authentication records.
/var/log/messages stores system messeges.
/var/log/httpd directory contains all apache related logs.
/var/log/boot.log file contains system boot logs.
/var/log/maillog stores mail server logs.
/var/log/mysqld.log contains MySQL server logs.

To view latest entries in log files use tail command.

tail -f /var/log/secure

Rate this Tutorial:
No Comments Leave a Comment
Leave a Comment

Cloud Servers 1 230×230

Other (3)

Popular Keywords

Cloud Servers 1 230×230