Examining logfiles

  • Files in /var/log (such as messages) and elsewhere can be examined using utilities such as tail, less, and grep.

  • Information in syslogd logfiles includes date, time, origin hostname, message sender, and descriptive text.

  • To debug problems using logfile information, first look at the hostname and sender, and then at the message text.

Get LPI Linux Certification in a Nutshell, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.