Skip to main content

Posts

Showing posts with the label Logging

LPI E - Logs Exam

Practice Exam for System Logging Which log file contains messages that are generated as services are started during the startup of the system? a) cron.log b) dmesg.log c) boot.log d) messages.log Which log file contains messages that are produced by the mail daemon for e-mail messages sent or received? a) cron.log b) maillog c) messages.log d) journal.log Which log file contains messages from processes that require authorization or authentication, such as the login process? a) secure.log b) messages.log c) boot.log d) dmesg.log Which log file contains messages from the X Windows (GUI) server? a) Xorg.0.log b) cron.log c) messages.log d) journal.log Which log file contains messages that are generated by the kernel during system boot up? a) cron.log b) dmesg.log c) boot.log d) messages.log Which log file contains messages from the default configuration of the systemd-journald.service? a) journal.log b) secure.log c) boot.log d) messages.log Which log file contains messages from the kerne...

LPI E - System Data

LPI E - Scripting 4.3 Where Data is Stored Review of Topics: Various types of information stored on a Linux system Part 1 of 2:  Part 2 - A Extensive Look Programs Configuration Processes Memory addresses System messaging Logging  Using the tools ps top free syslog - Debian or Fedora dmesg - Debian or Fedora and by locating information from directories like  "/etc/" "/bin" "/var/log/" Debian or Fedora "/boot/" "/proc/" "/dev/" "/sys/" I'll also provide a reference to some other tools at the end Finding information about Linux Programs and Configuration : Programs in Linux are typically stored in directories like "/bin/" "/sbin/" "/usr/bin/" "/usr/sbin/ "bin" meaning the executable binaries   To locate information about a program , you can use the " which " command followed by the name of the program $ which ls T his will display the full path to the program...