From the course: Linux Tips

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Exploring journalctl

Exploring journalctl - Linux Tutorial

From the course: Linux Tips

Exploring journalctl

- [Instructor] While Linux systems have, for quite a while, used text-based logs to keep track of what's going on in the system, distros running systemd also store system status information in the journal, a binary log that I'd like to spend a few minutes talking about in this episode. To interact with the journal, we'll use the journalctl command. By itself, the command displays the entire contents of the journal through the system pager, or the software that presents data in the shell one screenfull at a time. The pager being used here is less, so we can use any of the regular less commands to move around in the journal, like the F key to move forward or down, and the B key to move back or up, and we can search with the slash key. If you're not familiar with less, you can press H to see help, to leave this I'll press Q. The journalctl command can display the journal in a variety of useful ways, and there's a few ways I…

Contents