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

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

Common log files on a Linux system

Ubuntu VPS
Linux Cloud Server
Germany Cloud Servers
Brazil VPS
KVM VPS
USA VPS
OpenVZ VPS
Linux KVM Hosting
cPanel KVM
Windows Cloud Server

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

Germany Cloud Servers
KVM VPS
Linux Cloud Server
Brazil VPS
OpenVZ VPS
USA VPS
Linux KVM Hosting
Windows Cloud Server
cPanel KVM
Ubuntu VPS
Rate this Tutorial:
No Comments Leave a Comment
Leave a Comment

Other (3)

Popular Keywords