Logs and Journals
Part of the Linux course
A service that was working yesterday is not working now. Nobody changed anything, or so everybody says. You can stare at configuration files for an hour, or you can go and read what the machine wrote down while it was going wrong. Linux records an enormous amount about itself, and the difference between an operator who fixes things in five minutes and one who guesses for an afternoon is almost entirely knowing where...
Think of logs as an aircraft's flight recorder. Nobody reads it while the plane is flying normally. It exists so that when something goes wrong, there is a minute-by-minute account of what the machine was doing and what it thought about it. Your job is not to read everything, it is to find the thirty seconds that matter.
Want to learn Linux Logs and Journals in a real environment?
Click below, get a fresh Linux box with Linux ready to go, and work through Logs and Journals hands-on with an AI tutor that knows your code.
Start this lessonLogs and JournalsWhat you'll learn
- /var/log
- Syslog
- Journald
- Journalctl
- Log rotation
Read this lesson in your language
All lessons in this course
17 lessons- 1The Shell and First Commands20 min
- 2Filesystem and Navigation25 min
- 3Files and Permissions30 min
- 4Text Tools: grep, sed, awk30 min
- 5Pipes and Redirection25 min
- 6Processes and Signals30 min
- 7Users and Groups25 min
- 8Package Management25 min
- 9Networking Basics30 min
- 10Shell Scripting35 min
- 11systemd Services35 min
- 12SSH and Remote Access30 min
- 13Logs and Journals25 min
- 14Disks and Storage30 min
- 15Cron and Scheduled Tasks25 min
- 16Performance and Monitoring30 min
- 17Capstone: Server Setup60 min
