SYSTEM_LOGS

=Common Li**nux log files name and usage**= TO LOOK AT MOST LOG FILES Go to /var/logs directory:# **cd /var/log**
 * /var/log/message: General message and system related stuff
 * /var/log/auth.log: Authenication logs
 * /var/log/kern.log: Kernel logs
 * /var/log/cron.log: Crond logs (cron job)
 * /var/log/maillog: Mail server logs
 * /var/log/qmail/ : Qmail log directory (more files inside this directory)
 * /var/log/httpd/: Apache access and error logs directory
 * /var/log/lighttpd: Lighttpd access and error logs directory
 * /var/log/boot.log : System boot log
 * /var/log/mysqld.log: MySQL database server log file
 * /var/log/secure: Authentication log
 * /var/log/utmp or /var/log/wtmp : Login records file
 * /var/log/yum.log: Yum log files

View common log file /var/log/messages using any one of the following command:
 * __(don't type in: # )__**
 * __Also there is a space after -f__**
 * 1) **tail -f /var/log/messages**
 * 2) **less /var/log/messages**
 * 3) **more -f /var/log/messages**
 * 4) **vi /var/log/messages**