From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Locate and interpret system log files

Locate and interpret system log files - Linux Tutorial

From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)

Start my 1-month free trial

Locate and interpret system log files

- Log files, are files that contain messages about the system. These messages would pertain to the kernel services or applications. There are different logs for different tasks. For instance, there's a log that keeps track of failed logins. There's another log, Just for cron jobs and so on. Most system D based operating systems have two login systems Rsyslog log and journald. Rsyslog is compatible sysklogd and handles persistent logs. Rsyslog either logs to text files in the local machine or it logs across the network to a remote logging server using either TCP or UDP protocols. Journald however, is part of system dean is not persistent by default, so the journal logs don't survive a reboot. Since the journal is binary and it's only stored in memory, it's very fast to write to and very fast for us to search, to ensure Rsyslog is running. We can use systemctl, hyphen sudo space systemctl space start…

Contents