Reading System Logs

Programs on a Linux computer write down what happens in logs, the files in /var/log and systemd's journal; journalctl -u shows one service's lines, -f watches new ones arrive, and on a Mac log show and the Console app do the same job.

Updated

Cheat sheet for the lesson Reading System Logs: Programs on a Linux computer write down what happens in logs, the files in /var/log and systemd's journal; journalctl -u shows one service's lines, -f watches new ones arrive, and on a Mac log show and the Console app do the same job.
Category
Bash
Level
Journeyman
Tags
head-and-tail, journalctl, linux, log-file, log-rotation, unix, var-log