
Linux log files location
Almost all log files are located under /var/log directory (and sub directory). You can change to this directory using cd command but you need to be the root user. You can use less, more, cat or tail command to see the logs.
Go to /var/logs directory:# cd /var/logsView common log file /var/log/messages using any one of the following command:
# tail -f /var/log/messages# less /var/log/messages#...